LocationCapabilitiesInner Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.LocationCapabilitiesInner

Implements

public final class LocationCapabilitiesInner
implements JsonSerializable<LocationCapabilitiesInner>

The location capability.

Method Summary

Modifier and Type Method and Description
static LocationCapabilitiesInner fromJson(JsonReader jsonReader)

Reads an instance of LocationCapabilitiesInner from the JsonReader.

Boolean isZoneResilientProvisioningAllowed()

Get the isZoneResilientProvisioningAllowed property: Whether or not the subscription is allowed to provision zone resilient resources.

String name()

Get the name property: The location name.

String reason()

Get the reason property: The reason for the capability not being available.

CapabilityStatus status()

Get the status property: The status of the capability.

List<JobAgentVersionCapability> supportedJobAgentVersions()

Get the supportedJobAgentVersions property: The list of supported job agent versions.

List<ManagedInstanceVersionCapability> supportedManagedInstanceVersions()

Get the supportedManagedInstanceVersions property: The list of supported managed instance versions.

List<ServerVersionCapability> supportedServerVersions()

Get the supportedServerVersions property: The list of supported server versions.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static LocationCapabilitiesInner fromJson(JsonReader jsonReader)

Reads an instance of LocationCapabilitiesInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the LocationCapabilitiesInner.

isZoneResilientProvisioningAllowed

public Boolean isZoneResilientProvisioningAllowed()

Get the isZoneResilientProvisioningAllowed property: Whether or not the subscription is allowed to provision zone resilient resources.

Returns:

the isZoneResilientProvisioningAllowed value.

name

public String name()

Get the name property: The location name.

Returns:

the name value.

reason

public String reason()

Get the reason property: The reason for the capability not being available.

Returns:

the reason value.

status

public CapabilityStatus status()

Get the status property: The status of the capability.

Returns:

the status value.

supportedJobAgentVersions

public List<JobAgentVersionCapability> supportedJobAgentVersions()

Get the supportedJobAgentVersions property: The list of supported job agent versions.

Returns:

the supportedJobAgentVersions value.

supportedManagedInstanceVersions

public List<ManagedInstanceVersionCapability> supportedManagedInstanceVersions()

Get the supportedManagedInstanceVersions property: The list of supported managed instance versions.

Returns:

the supportedManagedInstanceVersions value.

supportedServerVersions

public List<ServerVersionCapability> supportedServerVersions()

Get the supportedServerVersions property: The list of supported server versions.

Returns:

the supportedServerVersions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to