你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphDomainDnsRecord Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDomainDnsRecord
- com.
- com.
public final class MicrosoftGraphDomainDnsRecord
extends MicrosoftGraphEntity
domainDnsRecord.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphDomainDnsRecord() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
isOptional()
Get the is |
String |
label()
Get the label property: Value used when configuring the name of the DNS record at the DNS host. |
String |
recordType()
Get the record |
String |
supportedService()
Get the supported |
Json |
toJson(JsonWriter jsonWriter) |
Integer |
ttl()
Get the ttl property: Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withIsOptional(Boolean isOptional)
Set the is |
Microsoft |
withLabel(String label)
Set the label property: Value used when configuring the name of the DNS record at the DNS host. |
Microsoft |
withRecordType(String recordType)
Set the record |
Microsoft |
withSupportedService(String supportedService)
Set the supported |
Microsoft |
withTtl(Integer ttl)
Set the ttl property: Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphDomainDnsRecord
public MicrosoftGraphDomainDnsRecord()
Creates an instance of MicrosoftGraphDomainDnsRecord class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: domainDnsRecord.
Overrides:
MicrosoftGraphDomainDnsRecord.additionalProperties()Returns:
fromJson
public static MicrosoftGraphDomainDnsRecord fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDomainDnsRecord from the JsonReader.
Parameters:
Returns:
Throws:
isOptional
public Boolean isOptional()
Get the isOptional property: If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain.
Returns:
label
public String label()
Get the label property: Value used when configuring the name of the DNS record at the DNS host.
Returns:
recordType
public String recordType()
Get the recordType property: Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, TxtKey.
Returns:
supportedService
public String supportedService()
Get the supportedService property: Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphDomainDnsRecord.toJson(JsonWriter jsonWriter)Parameters:
Throws:
ttl
public Integer ttl()
Get the ttl property: Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphDomainDnsRecord.validate()withAdditionalProperties
public MicrosoftGraphDomainDnsRecord withAdditionalProperties(Map
Set the additionalProperties property: domainDnsRecord.
Overrides:
MicrosoftGraphDomainDnsRecord.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withId
public MicrosoftGraphDomainDnsRecord withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphDomainDnsRecord.withId(String id)Parameters:
withIsOptional
public MicrosoftGraphDomainDnsRecord withIsOptional(Boolean isOptional)
Set the isOptional property: If false, this record must be configured by the customer at the DNS host for Microsoft Online Services to operate correctly with the domain.
Parameters:
Returns:
withLabel
public MicrosoftGraphDomainDnsRecord withLabel(String label)
Set the label property: Value used when configuring the name of the DNS record at the DNS host.
Parameters:
Returns:
withRecordType
public MicrosoftGraphDomainDnsRecord withRecordType(String recordType)
Set the recordType property: Indicates what type of DNS record this entity represents.The value can be one of the following: CName, Mx, Srv, TxtKey.
Parameters:
Returns:
withSupportedService
public MicrosoftGraphDomainDnsRecord withSupportedService(String supportedService)
Set the supportedService property: Microsoft Online Service or feature that has a dependency on this DNS record.Can be one of the following values: null, Email, Sharepoint, EmailInternalRelayOnly, OfficeCommunicationsOnline, SharePointDefaultDomain, FullRedelegation, SharePointPublic, OrgIdAuthentication, Yammer, Intune.
Parameters:
Returns:
withTtl
public MicrosoftGraphDomainDnsRecord withTtl(Integer ttl)
Set the ttl property: Value to use when configuring the time-to-live (ttl) property of the DNS record at the DNS host. Not nullable.
Parameters:
Returns: