다음을 통해 공유


DomainInner Class

public final class DomainInner
extends Resource

Information about a domain.

Constructor Summary

Constructor Description
DomainInner()

Creates an instance of DomainInner class.

Method Summary

Modifier and Type Method and Description
String authCode()

Get the authCode property: The authCode property.

Boolean autoRenew()

Get the autoRenew property: true if the domain should be automatically renewed; otherwise, false.

DomainPurchaseConsent consent()

Get the consent property: Legal agreement consent.

Contact contactAdmin()

Get the contactAdmin property: Administrative contact.

Contact contactBilling()

Get the contactBilling property: Billing contact.

Contact contactRegistrant()

Get the contactRegistrant property: Registrant contact.

Contact contactTech()

Get the contactTech property: Technical contact.

OffsetDateTime createdTime()

Get the createdTime property: Domain creation timestamp.

DnsType dnsType()

Get the dnsType property: Current DNS type.

String dnsZoneId()

Get the dnsZoneId property: Azure DNS Zone to use.

List<ResourceNotRenewableReason> domainNotRenewableReasons()

Get the domainNotRenewableReasons property: Reasons why domain is not renewable.

OffsetDateTime expirationTime()

Get the expirationTime property: Domain expiration timestamp.

static DomainInner fromJson(JsonReader jsonReader)

Reads an instance of DomainInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String kind()

Get the kind property: Kind of resource.

OffsetDateTime lastRenewedTime()

Get the lastRenewedTime property: Timestamp when the domain was renewed last time.

List<Hostname> managedHostNames()

Get the managedHostNames property: All hostnames derived from the domain and assigned to Azure resources.

String name()

Get the name property: The name of the resource.

List<String> nameServers()

Get the nameServers property: Name servers.

Boolean privacy()

Get the privacy property: true if domain privacy is enabled for this domain; otherwise, false.

ProvisioningState provisioningState()

Get the provisioningState property: Domain provisioning state.

Boolean readyForDnsRecordManagement()

Get the readyForDnsRecordManagement property: true if Azure can assign this domain to App Service apps; otherwise, false.

DomainStatus registrationStatus()

Get the registrationStatus property: Domain registration status.

DnsType targetDnsType()

Get the targetDnsType property: Target DNS type (would be used for migration).

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DomainInner withAuthCode(String authCode)

Set the authCode property: The authCode property.

DomainInner withAutoRenew(Boolean autoRenew)

Set the autoRenew property: true if the domain should be automatically renewed; otherwise, false.

DomainInner withConsent(DomainPurchaseConsent consent)

Set the consent property: Legal agreement consent.

DomainInner withContactAdmin(Contact contactAdmin)

Set the contactAdmin property: Administrative contact.

DomainInner withContactBilling(Contact contactBilling)

Set the contactBilling property: Billing contact.

DomainInner withContactRegistrant(Contact contactRegistrant)

Set the contactRegistrant property: Registrant contact.

DomainInner withContactTech(Contact contactTech)

Set the contactTech property: Technical contact.

DomainInner withDnsType(DnsType dnsType)

Set the dnsType property: Current DNS type.

DomainInner withDnsZoneId(String dnsZoneId)

Set the dnsZoneId property: Azure DNS Zone to use.

DomainInner withKind(String kind)

Set the kind property: Kind of resource.

DomainInner withLocation(String location)
DomainInner withPrivacy(Boolean privacy)

Set the privacy property: true if domain privacy is enabled for this domain; otherwise, false.

DomainInner withTags(Map<String,String> tags)
DomainInner withTargetDnsType(DnsType targetDnsType)

Set the targetDnsType property: Target DNS type (would be used for migration).

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:

the authCode value.

autoRenew

public Boolean autoRenew()

Get the autoRenew property: true if the domain should be automatically renewed; otherwise, false.

Returns:

the autoRenew value.

consent

public DomainPurchaseConsent consent()

Get the consent property: Legal agreement consent.

Returns:

the consent value.

contactAdmin

public Contact contactAdmin()

Get the contactAdmin property: Administrative contact.

Returns:

the contactAdmin value.

contactBilling

public Contact contactBilling()

Get the contactBilling property: Billing contact.

Returns:

the contactBilling value.

contactRegistrant

public Contact contactRegistrant()

Get the contactRegistrant property: Registrant contact.

Returns:

the contactRegistrant value.

contactTech

public Contact contactTech()

Get the contactTech property: Technical contact.

Returns:

the contactTech value.

createdTime

public OffsetDateTime createdTime()

Get the createdTime property: Domain creation timestamp.

Returns:

the createdTime value.

dnsType

public DnsType dnsType()

Get the dnsType property: Current DNS type.

Returns:

the dnsType value.

dnsZoneId

public String dnsZoneId()

Get the dnsZoneId property: Azure DNS Zone to use.

Returns:

the dnsZoneId value.

domainNotRenewableReasons

public List domainNotRenewableReasons()

Get the domainNotRenewableReasons property: Reasons why domain is not renewable.

Returns:

the domainNotRenewableReasons value.

expirationTime

public OffsetDateTime expirationTime()

Get the expirationTime property: Domain expiration timestamp.

Returns:

the expirationTime value.

fromJson

public static DomainInner fromJson(JsonReader jsonReader)

Reads an instance of DomainInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DomainInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DomainInner.id()

Returns:

the id value.

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:

the kind value.

lastRenewedTime

public OffsetDateTime lastRenewedTime()

Get the lastRenewedTime property: Timestamp when the domain was renewed last time.

Returns:

the lastRenewedTime value.

managedHostNames

public List managedHostNames()

Get the managedHostNames property: All hostnames derived from the domain and assigned to Azure resources.

Returns:

the managedHostNames value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DomainInner.name()

Returns:

the name value.

nameServers

public List nameServers()

Get the nameServers property: Name servers.

Returns:

the nameServers value.

privacy

public Boolean privacy()

Get the privacy property: true if domain privacy is enabled for this domain; otherwise, false.

Returns:

the privacy value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Domain provisioning state.

Returns:

the provisioningState value.

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:

the readyForDnsRecordManagement value.

registrationStatus

public DomainStatus registrationStatus()

Get the registrationStatus property: Domain registration status.

Returns:

the registrationStatus value.

targetDnsType

public DnsType targetDnsType()

Get the targetDnsType property: Target DNS type (would be used for migration).

Returns:

the targetDnsType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DomainInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DomainInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAuthCode

public DomainInner withAuthCode(String authCode)

Set the authCode property: The authCode property.

Parameters:

authCode - the authCode value to set.

Returns:

the DomainInner object itself.

withAutoRenew

public DomainInner withAutoRenew(Boolean autoRenew)

Set the autoRenew property: true if the domain should be automatically renewed; otherwise, false.

Parameters:

autoRenew - the autoRenew value to set.

Returns:

the DomainInner object itself.

withConsent

public DomainInner withConsent(DomainPurchaseConsent consent)

Set the consent property: Legal agreement consent.

Parameters:

consent - the consent value to set.

Returns:

the DomainInner object itself.

withContactAdmin

public DomainInner withContactAdmin(Contact contactAdmin)

Set the contactAdmin property: Administrative contact.

Parameters:

contactAdmin - the contactAdmin value to set.

Returns:

the DomainInner object itself.

withContactBilling

public DomainInner withContactBilling(Contact contactBilling)

Set the contactBilling property: Billing contact.

Parameters:

contactBilling - the contactBilling value to set.

Returns:

the DomainInner object itself.

withContactRegistrant

public DomainInner withContactRegistrant(Contact contactRegistrant)

Set the contactRegistrant property: Registrant contact.

Parameters:

contactRegistrant - the contactRegistrant value to set.

Returns:

the DomainInner object itself.

withContactTech

public DomainInner withContactTech(Contact contactTech)

Set the contactTech property: Technical contact.

Parameters:

contactTech - the contactTech value to set.

Returns:

the DomainInner object itself.

withDnsType

public DomainInner withDnsType(DnsType dnsType)

Set the dnsType property: Current DNS type.

Parameters:

dnsType - the dnsType value to set.

Returns:

the DomainInner object itself.

withDnsZoneId

public DomainInner withDnsZoneId(String dnsZoneId)

Set the dnsZoneId property: Azure DNS Zone to use.

Parameters:

dnsZoneId - the dnsZoneId value to set.

Returns:

the DomainInner object itself.

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:

kind - the kind value to set.

Returns:

the DomainInner object itself.

withLocation

public DomainInner withLocation(String location)

Overrides:

DomainInner.withLocation(String location)

Parameters:

location

withPrivacy

public DomainInner withPrivacy(Boolean privacy)

Set the privacy property: true if domain privacy is enabled for this domain; otherwise, false.

Parameters:

privacy - the privacy value to set.

Returns:

the DomainInner object itself.

withTags

public DomainInner withTags(Map tags)

Overrides:

DomainInner.withTags(Map<String,String> tags)

Parameters:

tags

withTargetDnsType

public DomainInner withTargetDnsType(DnsType targetDnsType)

Set the targetDnsType property: Target DNS type (would be used for migration).

Parameters:

targetDnsType - the targetDnsType value to set.

Returns:

the DomainInner object itself.

Applies to