Class CustomHostnameAnalysisResultInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.CustomHostnameAnalysisResultInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Custom domain analysis.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CustomHostnameAnalysisResultInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the alternateCNameRecords property: Alternate CName records controller can see for this hostname.Get the alternateTxtRecords property: Alternate TXT records controller can see for this hostname.aRecords()Get the aRecords property: A records controller can see for this hostname.Get the cNameRecords property: CName records controller can see for this hostname.Get the conflictingAppResourceId property: Name of the conflicting app on scale unit if it's within the same subscription.Get the customDomainVerificationFailureInfo property: Raw failure information if DNS verification fails.Get the customDomainVerificationTest property: DNS verification test result.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CustomHostnameAnalysisResultInner from the JsonReader.Get the hasConflictAcrossSubscription property: <code>true</code> if there is a conflict across subscriptions; otherwise, <code>false</code>.Get the hasConflictOnScaleUnit property: <code>true</code> if there is a conflict on a scale unit; otherwise, <code>false</code>.id()Get the id property: Fully qualified resource Id for the resource.Get the isHostnameAlreadyVerified property: <code>true</code> if hostname is already verified; otherwise, <code>false</code>.name()Get the name property: The name of the resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the txtRecords property: TXT records controller can see for this hostname.type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withAlternateCNameRecords(List<String> alternateCNameRecords) Set the alternateCNameRecords property: Alternate CName records controller can see for this hostname.withAlternateTxtRecords(List<String> alternateTxtRecords) Set the alternateTxtRecords property: Alternate TXT records controller can see for this hostname.withARecords(List<String> aRecords) Set the aRecords property: A records controller can see for this hostname.withCNameRecords(List<String> cNameRecords) Set the cNameRecords property: CName records controller can see for this hostname.Set the kind property: Kind of resource.withTxtRecords(List<String> txtRecords) Set the txtRecords property: TXT records controller can see for this hostname.Methods inherited from class ProxyOnlyResource
kindMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CustomHostnameAnalysisResultInner
public CustomHostnameAnalysisResultInner()Creates an instance of CustomHostnameAnalysisResultInner class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
typein classProxyOnlyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classProxyOnlyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classProxyOnlyResource- Returns:
- the id value.
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
isHostnameAlreadyVerified
Get the isHostnameAlreadyVerified property: <code>true</code> if hostname is already verified; otherwise, <code>false</code>.- Returns:
- the isHostnameAlreadyVerified value.
-
customDomainVerificationTest
Get the customDomainVerificationTest property: DNS verification test result.- Returns:
- the customDomainVerificationTest value.
-
customDomainVerificationFailureInfo
Get the customDomainVerificationFailureInfo property: Raw failure information if DNS verification fails.- Returns:
- the customDomainVerificationFailureInfo value.
-
hasConflictOnScaleUnit
Get the hasConflictOnScaleUnit property: <code>true</code> if there is a conflict on a scale unit; otherwise, <code>false</code>.- Returns:
- the hasConflictOnScaleUnit value.
-
hasConflictAcrossSubscription
Get the hasConflictAcrossSubscription property: <code>true</code> if there is a conflict across subscriptions; otherwise, <code>false</code>.- Returns:
- the hasConflictAcrossSubscription value.
-
conflictingAppResourceId
Get the conflictingAppResourceId property: Name of the conflicting app on scale unit if it's within the same subscription.- Returns:
- the conflictingAppResourceId value.
-
cNameRecords
-
withCNameRecords
Set the cNameRecords property: CName records controller can see for this hostname.- Parameters:
cNameRecords- the cNameRecords value to set.- Returns:
- the CustomHostnameAnalysisResultInner object itself.
-
txtRecords
-
withTxtRecords
Set the txtRecords property: TXT records controller can see for this hostname.- Parameters:
txtRecords- the txtRecords value to set.- Returns:
- the CustomHostnameAnalysisResultInner object itself.
-
aRecords
-
withARecords
Set the aRecords property: A records controller can see for this hostname.- Parameters:
aRecords- the aRecords value to set.- Returns:
- the CustomHostnameAnalysisResultInner object itself.
-
alternateCNameRecords
-
withAlternateCNameRecords
public CustomHostnameAnalysisResultInner withAlternateCNameRecords(List<String> alternateCNameRecords) Set the alternateCNameRecords property: Alternate CName records controller can see for this hostname.- Parameters:
alternateCNameRecords- the alternateCNameRecords value to set.- Returns:
- the CustomHostnameAnalysisResultInner object itself.
-
alternateTxtRecords
-
withAlternateTxtRecords
Set the alternateTxtRecords property: Alternate TXT records controller can see for this hostname.- Parameters:
alternateTxtRecords- the alternateTxtRecords value to set.- Returns:
- the CustomHostnameAnalysisResultInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classProxyOnlyResource- Throws:
IOException
-
fromJson
public static CustomHostnameAnalysisResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of CustomHostnameAnalysisResultInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of CustomHostnameAnalysisResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the CustomHostnameAnalysisResultInner.
-