Class MicrosoftGraphDomainInner
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDomainInner
domain.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphDomainInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: domain.Get the authenticationType property: Indicates the configured authentication type for the domain.Get the availabilityStatus property: This property is always null except when the verify action is used.Get the domainNameReferences property: Read-only, Nullable.Get the isAdminManaged property: The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365.Get the isDefault property: True if this is the default domain that is used for user creation.Get the isInitial property: True if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com).isRoot()Get the isRoot property: True if the domain is a verified root domain.Get the isVerified property: True if the domain has completed domain ownership verification.Get the manufacturer property: The manufacturer property.model()Get the model property: The model property.Get the passwordNotificationWindowInDays property: Specifies the number of days before a user receives notification that their password will expire.Get the passwordValidityPeriodInDays property: Specifies the length of time that a password is valid before it must be changed.Get the serviceConfigurationRecords property: DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services.Read-only, Nullable.state()Get the state property: domainState.Get the supportedServices property: The capabilities assigned to the domain.Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, YammerNot nullable.voidvalidate()Validates the instance.Get the verificationDnsRecords property: DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD.Read-only, Nullable.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: domain.withAuthenticationType(String authenticationType) Set the authenticationType property: Indicates the configured authentication type for the domain.withAvailabilityStatus(String availabilityStatus) Set the availabilityStatus property: This property is always null except when the verify action is used.withDomainNameReferences(List<MicrosoftGraphDirectoryObjectInner> domainNameReferences) Set the domainNameReferences property: Read-only, Nullable.Set the id property: Read-only.withIsAdminManaged(Boolean isAdminManaged) Set the isAdminManaged property: The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365.withIsDefault(Boolean isDefault) Set the isDefault property: True if this is the default domain that is used for user creation.withIsInitial(Boolean isInitial) Set the isInitial property: True if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com).withIsRoot(Boolean isRoot) Set the isRoot property: True if the domain is a verified root domain.withIsVerified(Boolean isVerified) Set the isVerified property: True if the domain has completed domain ownership verification.withManufacturer(String manufacturer) Set the manufacturer property: The manufacturer property.Set the model property: The model property.withPasswordNotificationWindowInDays(Integer passwordNotificationWindowInDays) Set the passwordNotificationWindowInDays property: Specifies the number of days before a user receives notification that their password will expire.withPasswordValidityPeriodInDays(Integer passwordValidityPeriodInDays) Set the passwordValidityPeriodInDays property: Specifies the length of time that a password is valid before it must be changed.withServiceConfigurationRecords(List<MicrosoftGraphDomainDnsRecord> serviceConfigurationRecords) Set the serviceConfigurationRecords property: DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services.Read-only, Nullable.Set the state property: domainState.withSupportedServices(List<String> supportedServices) Set the supportedServices property: The capabilities assigned to the domain.Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, YammerNot nullable.withVerificationDnsRecords(List<MicrosoftGraphDomainDnsRecord> verificationDnsRecords) Set the verificationDnsRecords property: DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD.Read-only, Nullable.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphDomainInner
public MicrosoftGraphDomainInner()Creates an instance of MicrosoftGraphDomainInner class.
-
-
Method Details
-
authenticationType
Get the authenticationType property: Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication.Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. This property is read-only and is not nullable.- Returns:
- the authenticationType value.
-
withAuthenticationType
Set the authenticationType property: Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication.Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. This property is read-only and is not nullable.- Parameters:
authenticationType- the authenticationType value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
availabilityStatus
Get the availabilityStatus property: This property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled.- Returns:
- the availabilityStatus value.
-
withAvailabilityStatus
Set the availabilityStatus property: This property is always null except when the verify action is used. When the verify action is used, a domain entity is returned in the response. The availabilityStatus property of the domain entity in the response is either AvailableImmediately or EmailVerifiedDomainTakeoverScheduled.- Parameters:
availabilityStatus- the availabilityStatus value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
isAdminManaged
Get the isAdminManaged property: The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365. Otherwise, the value is true. Not nullable.- Returns:
- the isAdminManaged value.
-
withIsAdminManaged
Set the isAdminManaged property: The value of the property is false if the DNS record management of the domain has been delegated to Microsoft 365. Otherwise, the value is true. Not nullable.- Parameters:
isAdminManaged- the isAdminManaged value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
isDefault
Get the isDefault property: True if this is the default domain that is used for user creation. There is only one default domain per company. Not nullable.- Returns:
- the isDefault value.
-
withIsDefault
Set the isDefault property: True if this is the default domain that is used for user creation. There is only one default domain per company. Not nullable.- Parameters:
isDefault- the isDefault value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
isInitial
Get the isInitial property: True if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com). There is only one initial domain per company. Not nullable.- Returns:
- the isInitial value.
-
withIsInitial
Set the isInitial property: True if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com). There is only one initial domain per company. Not nullable.- Parameters:
isInitial- the isInitial value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
isRoot
Get the isRoot property: True if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable.- Returns:
- the isRoot value.
-
withIsRoot
Set the isRoot property: True if the domain is a verified root domain. Otherwise, false if the domain is a subdomain or unverified. Not nullable.- Parameters:
isRoot- the isRoot value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
isVerified
Get the isVerified property: True if the domain has completed domain ownership verification. Not nullable.- Returns:
- the isVerified value.
-
withIsVerified
Set the isVerified property: True if the domain has completed domain ownership verification. Not nullable.- Parameters:
isVerified- the isVerified value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
manufacturer
Get the manufacturer property: The manufacturer property.- Returns:
- the manufacturer value.
-
withManufacturer
Set the manufacturer property: The manufacturer property.- Parameters:
manufacturer- the manufacturer value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
model
Get the model property: The model property.- Returns:
- the model value.
-
withModel
Set the model property: The model property.- Parameters:
model- the model value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
passwordNotificationWindowInDays
Get the passwordNotificationWindowInDays property: Specifies the number of days before a user receives notification that their password will expire. If the property is not set, a default value of 14 days will be used.- Returns:
- the passwordNotificationWindowInDays value.
-
withPasswordNotificationWindowInDays
public MicrosoftGraphDomainInner withPasswordNotificationWindowInDays(Integer passwordNotificationWindowInDays) Set the passwordNotificationWindowInDays property: Specifies the number of days before a user receives notification that their password will expire. If the property is not set, a default value of 14 days will be used.- Parameters:
passwordNotificationWindowInDays- the passwordNotificationWindowInDays value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
passwordValidityPeriodInDays
Get the passwordValidityPeriodInDays property: Specifies the length of time that a password is valid before it must be changed. If the property is not set, a default value of 90 days will be used.- Returns:
- the passwordValidityPeriodInDays value.
-
withPasswordValidityPeriodInDays
public MicrosoftGraphDomainInner withPasswordValidityPeriodInDays(Integer passwordValidityPeriodInDays) Set the passwordValidityPeriodInDays property: Specifies the length of time that a password is valid before it must be changed. If the property is not set, a default value of 90 days will be used.- Parameters:
passwordValidityPeriodInDays- the passwordValidityPeriodInDays value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
state
Get the state property: domainState.- Returns:
- the state value.
-
withState
Set the state property: domainState.- Parameters:
state- the state value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
supportedServices
Get the supportedServices property: The capabilities assigned to the domain.Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, YammerNot nullable.- Returns:
- the supportedServices value.
-
withSupportedServices
Set the supportedServices property: The capabilities assigned to the domain.Can include 0, 1 or more of following values: Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune The values which you can add/remove using Graph API include: Email, OfficeCommunicationsOnline, YammerNot nullable.- Parameters:
supportedServices- the supportedServices value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
domainNameReferences
Get the domainNameReferences property: Read-only, Nullable.- Returns:
- the domainNameReferences value.
-
withDomainNameReferences
public MicrosoftGraphDomainInner withDomainNameReferences(List<MicrosoftGraphDirectoryObjectInner> domainNameReferences) Set the domainNameReferences property: Read-only, Nullable.- Parameters:
domainNameReferences- the domainNameReferences value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
serviceConfigurationRecords
Get the serviceConfigurationRecords property: DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services.Read-only, Nullable.- Returns:
- the serviceConfigurationRecords value.
-
withServiceConfigurationRecords
public MicrosoftGraphDomainInner withServiceConfigurationRecords(List<MicrosoftGraphDomainDnsRecord> serviceConfigurationRecords) Set the serviceConfigurationRecords property: DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services.Read-only, Nullable.- Parameters:
serviceConfigurationRecords- the serviceConfigurationRecords value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
verificationDnsRecords
Get the verificationDnsRecords property: DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD.Read-only, Nullable.- Returns:
- the verificationDnsRecords value.
-
withVerificationDnsRecords
public MicrosoftGraphDomainInner withVerificationDnsRecords(List<MicrosoftGraphDomainDnsRecord> verificationDnsRecords) Set the verificationDnsRecords property: DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD.Read-only, Nullable.- Parameters:
verificationDnsRecords- the verificationDnsRecords value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
additionalProperties
Get the additionalProperties property: domain.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: domain.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-