DomainInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. appservice. fluent. models. DomainInner
- com.
- com.
- com.
public final class DomainInner
extends Resource
Information about a domain.
Constructor Summary
Constructor | Description |
---|---|
DomainInner() |
Creates an instance of Domain |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
authCode()
Get the auth |
Boolean |
autoRenew()
Get the auto |
Domain |
consent()
Get the consent property: Legal agreement consent. |
Contact |
contactAdmin()
Get the contact |
Contact |
contactBilling()
Get the contact |
Contact |
contactRegistrant()
Get the contact |
Contact |
contactTech()
Get the contact |
Offset |
createdTime()
Get the created |
Dns |
dnsType()
Get the dns |
String |
dnsZoneId()
Get the dns |
List<Resource |
domainNotRenewableReasons()
Get the domain |
Offset |
expirationTime()
Get the expiration |
static
Domain |
fromJson(JsonReader jsonReader)
Reads an instance of Domain |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
kind()
Get the kind property: Kind of resource. |
Offset |
lastRenewedTime()
Get the last |
List<Hostname> |
managedHostNames()
Get the managed |
String |
name()
Get the name property: The name of the resource. |
List<String> |
nameServers()
Get the name |
Boolean |
privacy()
Get the privacy property: |
Provisioning |
provisioningState()
Get the provisioning |
Boolean |
readyForDnsRecordManagement()
Get the ready |
Domain |
registrationStatus()
Get the registration |
Dns |
targetDnsType()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Domain |
withAuthCode(String authCode)
Set the auth |
Domain |
withAutoRenew(Boolean autoRenew)
Set the auto |
Domain |
withConsent(DomainPurchaseConsent consent)
Set the consent property: Legal agreement consent. |
Domain |
withContactAdmin(Contact contactAdmin)
Set the contact |
Domain |
withContactBilling(Contact contactBilling)
Set the contact |
Domain |
withContactRegistrant(Contact contactRegistrant)
Set the contact |
Domain |
withContactTech(Contact contactTech)
Set the contact |
Domain |
withDnsType(DnsType dnsType)
Set the dns |
Domain |
withDnsZoneId(String dnsZoneId)
Set the dns |
Domain |
withKind(String kind)
Set the kind property: Kind of resource. |
Domain |
withLocation(String location) |
Domain |
withPrivacy(Boolean privacy)
Set the privacy property: |
Domain |
withTags(Map<String,String> tags) |
Domain |
withTargetDnsType(DnsType targetDnsType)
Set the target |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DomainInner
public DomainInner()
Creates an instance of DomainInner class.
Method Details
authCode
public String authCode()
Get the authCode property: The authCode property.
Returns:
autoRenew
public Boolean autoRenew()
Get the autoRenew property: true
if the domain should be automatically renewed; otherwise, false
.
Returns:
consent
public DomainPurchaseConsent consent()
Get the consent property: Legal agreement consent.
Returns:
contactAdmin
public Contact contactAdmin()
Get the contactAdmin property: Administrative contact.
Returns:
contactBilling
public Contact contactBilling()
Get the contactBilling property: Billing contact.
Returns:
contactRegistrant
public Contact contactRegistrant()
Get the contactRegistrant property: Registrant contact.
Returns:
contactTech
public Contact contactTech()
Get the contactTech property: Technical contact.
Returns:
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Domain creation timestamp.
Returns:
dnsType
public DnsType dnsType()
Get the dnsType property: Current DNS type.
Returns:
dnsZoneId
public String dnsZoneId()
Get the dnsZoneId property: Azure DNS Zone to use.
Returns:
domainNotRenewableReasons
public List
Get the domainNotRenewableReasons property: Reasons why domain is not renewable.
Returns:
expirationTime
public OffsetDateTime expirationTime()
Get the expirationTime property: Domain expiration timestamp.
Returns:
fromJson
public static DomainInner fromJson(JsonReader jsonReader)
Reads an instance of DomainInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DomainInner.id()Returns:
kind
public String kind()
Get the kind property: Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things\_You\_Should\_Know/kind\_property.md\#app-service-resource-kind-reference for details supported values for kind.
Returns:
lastRenewedTime
public OffsetDateTime lastRenewedTime()
Get the lastRenewedTime property: Timestamp when the domain was renewed last time.
Returns:
managedHostNames
public List
Get the managedHostNames property: All hostnames derived from the domain and assigned to Azure resources.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DomainInner.name()Returns:
nameServers
public List
Get the nameServers property: Name servers.
Returns:
privacy
public Boolean privacy()
Get the privacy property: true
if domain privacy is enabled for this domain; otherwise, false
.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Domain provisioning state.
Returns:
readyForDnsRecordManagement
public Boolean readyForDnsRecordManagement()
Get the readyForDnsRecordManagement property: true
if Azure can assign this domain to App Service apps; otherwise, false
. This value will be true
if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
Returns:
registrationStatus
public DomainStatus registrationStatus()
Get the registrationStatus property: Domain registration status.
Returns:
targetDnsType
public DnsType targetDnsType()
Get the targetDnsType property: Target DNS type (would be used for migration).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DomainInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DomainInner.type()Returns:
validate
public void validate()
Validates the instance.
withAuthCode
public DomainInner withAuthCode(String authCode)
Set the authCode property: The authCode property.
Parameters:
Returns:
withAutoRenew
public DomainInner withAutoRenew(Boolean autoRenew)
Set the autoRenew property: true
if the domain should be automatically renewed; otherwise, false
.
Parameters:
Returns:
withConsent
public DomainInner withConsent(DomainPurchaseConsent consent)
Set the consent property: Legal agreement consent.
Parameters:
Returns:
withContactAdmin
public DomainInner withContactAdmin(Contact contactAdmin)
Set the contactAdmin property: Administrative contact.
Parameters:
Returns:
withContactBilling
public DomainInner withContactBilling(Contact contactBilling)
Set the contactBilling property: Billing contact.
Parameters:
Returns:
withContactRegistrant
public DomainInner withContactRegistrant(Contact contactRegistrant)
Set the contactRegistrant property: Registrant contact.
Parameters:
Returns:
withContactTech
public DomainInner withContactTech(Contact contactTech)
Set the contactTech property: Technical contact.
Parameters:
Returns:
withDnsType
public DomainInner withDnsType(DnsType dnsType)
Set the dnsType property: Current DNS type.
Parameters:
Returns:
withDnsZoneId
public DomainInner withDnsZoneId(String dnsZoneId)
Set the dnsZoneId property: Azure DNS Zone to use.
Parameters:
Returns:
withKind
public DomainInner withKind(String kind)
Set the kind property: Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things\_You\_Should\_Know/kind\_property.md\#app-service-resource-kind-reference for details supported values for kind.
Parameters:
Returns:
withLocation
public DomainInner withLocation(String location)
Overrides:
DomainInner.withLocation(String location)Parameters:
withPrivacy
public DomainInner withPrivacy(Boolean privacy)
Set the privacy property: true
if domain privacy is enabled for this domain; otherwise, false
.
Parameters:
Returns:
withTags
public DomainInner withTags(Map
Overrides:
DomainInner.withTags(Map<String,String> tags)Parameters:
withTargetDnsType
public DomainInner withTargetDnsType(DnsType targetDnsType)
Set the targetDnsType property: Target DNS type (would be used for migration).
Parameters:
Returns:
Applies to
Azure SDK for Java