PairedRegion Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. PairedRegion
- com.
Implements
public final class PairedRegion
implements JsonSerializable<PairedRegion>
Information regarding paired region.
Constructor Summary
Constructor | Description |
---|---|
PairedRegion() |
Creates an instance of Paired |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Paired |
fromJson(JsonReader jsonReader)
Reads an instance of Paired |
String |
id()
Get the id property: The fully qualified ID of the location. |
String |
name()
Get the name property: The name of the paired region. |
String |
subscriptionId()
Get the subscription |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
PairedRegion
public PairedRegion()
Creates an instance of PairedRegion class.
Method Details
fromJson
public static PairedRegion fromJson(JsonReader jsonReader)
Reads an instance of PairedRegion from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The fully qualified ID of the location. For example, /subscriptions/8d65815f-a5b6-402f-9298-045155da7d74/locations/westus.
Returns:
name
public String name()
Get the name property: The name of the paired region.
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: The subscription ID.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java