Class SqlDedicatedGatewayRegionalServiceResource

java.lang.Object
com.azure.resourcemanager.cosmos.models.RegionalServiceResource
com.azure.resourcemanager.cosmos.models.SqlDedicatedGatewayRegionalServiceResource
All Implemented Interfaces:
com.azure.json.JsonSerializable<RegionalServiceResource>

public final class SqlDedicatedGatewayRegionalServiceResource extends RegionalServiceResource
Resource for a regional service location.
  • Constructor Details

    • SqlDedicatedGatewayRegionalServiceResource

      public SqlDedicatedGatewayRegionalServiceResource()
      Creates an instance of SqlDedicatedGatewayRegionalServiceResource class.
  • Method Details

    • sqlDedicatedGatewayEndpoint

      public String sqlDedicatedGatewayEndpoint()
      Get the sqlDedicatedGatewayEndpoint property: The regional endpoint for SqlDedicatedGateway.
      Returns:
      the sqlDedicatedGatewayEndpoint value.
    • status

      public ServiceStatus status()
      Get the status property: Describes the status of a service.
      Overrides:
      status in class RegionalServiceResource
      Returns:
      the status value.
    • location

      public String location()
      Get the location property: The location name.
      Overrides:
      location in class RegionalServiceResource
      Returns:
      the location value.
    • name

      public String name()
      Get the name property: The regional service name.
      Overrides:
      name in class RegionalServiceResource
      Returns:
      the name value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class RegionalServiceResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<RegionalServiceResource>
      Overrides:
      toJson in class RegionalServiceResource
      Throws:
      IOException
    • fromJson

      public static SqlDedicatedGatewayRegionalServiceResource fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SqlDedicatedGatewayRegionalServiceResource from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SqlDedicatedGatewayRegionalServiceResource 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 SqlDedicatedGatewayRegionalServiceResource.