Class MicrosoftGraphDomainInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDomainInner
-
public final class MicrosoftGraphDomainInner extends MicrosoftGraphEntity
domain.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphDomainInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: domain.String
authenticationType()
Get the authenticationType property: Indicates the configured authentication type for the domain.String
availabilityStatus()
Get the availabilityStatus property: This property is always null except when the verify action is used.List<MicrosoftGraphDirectoryObjectInner>
domainNameReferences()
Get the domainNameReferences property: Read-only, Nullable.Boolean
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.Boolean
isDefault()
Get the isDefault property: True if this is the default domain that is used for user creation.Boolean
isInitial()
Get the isInitial property: True if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com).Boolean
isRoot()
Get the isRoot property: True if the domain is a verified root domain.Boolean
isVerified()
Get the isVerified property: True if the domain has completed domain ownership verification.String
manufacturer()
Get the manufacturer property: The manufacturer property.String
model()
Get the model property: The model property.Integer
passwordNotificationWindowInDays()
Get the passwordNotificationWindowInDays property: Specifies the number of days before a user receives notification that their password will expire.Integer
passwordValidityPeriodInDays()
Get the passwordValidityPeriodInDays property: Specifies the length of time that a password is valid before it must be changed.List<MicrosoftGraphDomainDnsRecordInner>
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.MicrosoftGraphDomainState
state()
Get the state property: domainState.List<String>
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.void
validate()
Validates the instance.List<MicrosoftGraphDomainDnsRecordInner>
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.MicrosoftGraphDomainInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: domain.MicrosoftGraphDomainInner
withAuthenticationType(String authenticationType)
Set the authenticationType property: Indicates the configured authentication type for the domain.MicrosoftGraphDomainInner
withAvailabilityStatus(String availabilityStatus)
Set the availabilityStatus property: This property is always null except when the verify action is used.MicrosoftGraphDomainInner
withDomainNameReferences(List<MicrosoftGraphDirectoryObjectInner> domainNameReferences)
Set the domainNameReferences property: Read-only, Nullable.MicrosoftGraphDomainInner
withId(String id)
Set the id property: Read-only.MicrosoftGraphDomainInner
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.MicrosoftGraphDomainInner
withIsDefault(Boolean isDefault)
Set the isDefault property: True if this is the default domain that is used for user creation.MicrosoftGraphDomainInner
withIsInitial(Boolean isInitial)
Set the isInitial property: True if this is the initial domain created by Microsoft Online Services (companyname.onmicrosoft.com).MicrosoftGraphDomainInner
withIsRoot(Boolean isRoot)
Set the isRoot property: True if the domain is a verified root domain.MicrosoftGraphDomainInner
withIsVerified(Boolean isVerified)
Set the isVerified property: True if the domain has completed domain ownership verification.MicrosoftGraphDomainInner
withManufacturer(String manufacturer)
Set the manufacturer property: The manufacturer property.MicrosoftGraphDomainInner
withModel(String model)
Set the model property: The model property.MicrosoftGraphDomainInner
withPasswordNotificationWindowInDays(Integer passwordNotificationWindowInDays)
Set the passwordNotificationWindowInDays property: Specifies the number of days before a user receives notification that their password will expire.MicrosoftGraphDomainInner
withPasswordValidityPeriodInDays(Integer passwordValidityPeriodInDays)
Set the passwordValidityPeriodInDays property: Specifies the length of time that a password is valid before it must be changed.MicrosoftGraphDomainInner
withServiceConfigurationRecords(List<MicrosoftGraphDomainDnsRecordInner> 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.MicrosoftGraphDomainInner
withState(MicrosoftGraphDomainState state)
Set the state property: domainState.MicrosoftGraphDomainInner
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.MicrosoftGraphDomainInner
withVerificationDnsRecords(List<MicrosoftGraphDomainDnsRecordInner> 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
-
-
-
-
Method Detail
-
authenticationType
public String 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
public MicrosoftGraphDomainInner withAuthenticationType(String authenticationType)
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
public String 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
public MicrosoftGraphDomainInner withAvailabilityStatus(String availabilityStatus)
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
public Boolean 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
public MicrosoftGraphDomainInner 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. Otherwise, the value is true. Not nullable.- Parameters:
isAdminManaged
- the isAdminManaged value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
isDefault
public Boolean 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
public MicrosoftGraphDomainInner withIsDefault(Boolean isDefault)
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
public Boolean 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
public MicrosoftGraphDomainInner withIsInitial(Boolean isInitial)
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
public Boolean 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
public MicrosoftGraphDomainInner withIsRoot(Boolean isRoot)
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
public Boolean isVerified()
Get the isVerified property: True if the domain has completed domain ownership verification. Not nullable.- Returns:
- the isVerified value.
-
withIsVerified
public MicrosoftGraphDomainInner withIsVerified(Boolean isVerified)
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
public String manufacturer()
Get the manufacturer property: The manufacturer property.- Returns:
- the manufacturer value.
-
withManufacturer
public MicrosoftGraphDomainInner withManufacturer(String manufacturer)
Set the manufacturer property: The manufacturer property.- Parameters:
manufacturer
- the manufacturer value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
model
public String model()
Get the model property: The model property.- Returns:
- the model value.
-
withModel
public MicrosoftGraphDomainInner withModel(String model)
Set the model property: The model property.- Parameters:
model
- the model value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
passwordNotificationWindowInDays
public Integer 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
public Integer 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
public MicrosoftGraphDomainState state()
Get the state property: domainState.- Returns:
- the state value.
-
withState
public MicrosoftGraphDomainInner withState(MicrosoftGraphDomainState state)
Set the state property: domainState.- Parameters:
state
- the state value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
supportedServices
public List<String> 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
public MicrosoftGraphDomainInner 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.- Parameters:
supportedServices
- the supportedServices value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
domainNameReferences
public List<MicrosoftGraphDirectoryObjectInner> 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
public List<MicrosoftGraphDomainDnsRecordInner> 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<MicrosoftGraphDomainDnsRecordInner> 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
public List<MicrosoftGraphDomainDnsRecordInner> 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<MicrosoftGraphDomainDnsRecordInner> 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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: domain.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphDomainInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: domain.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDomainInner object itself.
-
withId
public MicrosoftGraphDomainInner withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-