ServiceGatewayInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. network. models. SecurityPerimeterResource - com.
azure. resourcemanager. network. models. SecurityPerimeterTrackedResource - com.
azure. resourcemanager. network. fluent. models. ServiceGatewayInner
- com.
- com.
- com.
- com.
public final class ServiceGatewayInner
extends SecurityPerimeterTrackedResource
ServiceGateway resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceGatewayInner() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
resourceGuid()
Get the resource |
|
Route |
routeTargetAddress()
Get the route |
|
Route |
routeTargetAddressV6()
Get the route |
|
Service |
sku()
Get the sku property: The service gateway SKU. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Virtual |
virtualNetwork()
Get the virtual |
|
Service |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
|
Service |
withRouteTargetAddress(RouteTargetAddressPropertiesFormatInner routeTargetAddress)
Set the route |
|
Service |
withRouteTargetAddressV6(RouteTargetAddressPropertiesFormatInner routeTargetAddressV6)
Set the route |
|
Service |
withSku(ServiceGatewaySku sku)
Set the sku property: The service gateway SKU. |
|
Service |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
|
Service |
withVirtualNetwork(VirtualNetworkInner virtualNetwork)
Set the virtual |
|
Service |
withZones(List<String> zones)
Set the zones property: A list of availability zones denoting the zone in which service gateway should be deployed. |
| List<String> |
zones()
Get the zones property: A list of availability zones denoting the zone in which service gateway should be deployed. |
Methods inherited from SecurityPerimeterTrackedResource
Methods inherited from java.lang.Object
Constructor Details
ServiceGatewayInner
public ServiceGatewayInner()
Creates an instance of ServiceGatewayInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ServiceGatewayInner fromJson(JsonReader jsonReader)
Reads an instance of ServiceGatewayInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ServiceGatewayInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ServiceGatewayInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the service gateway resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the service gateway resource.
Returns:
routeTargetAddress
public RouteTargetAddressPropertiesFormatInner routeTargetAddress()
Get the routeTargetAddress property: Route Target address of Service gateway.
Returns:
routeTargetAddressV6
public RouteTargetAddressPropertiesFormatInner routeTargetAddressV6()
Get the routeTargetAddressV6 property: Route Target address V6 of Service gateway.
Returns:
sku
public ServiceGatewaySku sku()
Get the sku property: The service gateway SKU.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Overrides:
ServiceGatewayInner.systemData()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServiceGatewayInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ServiceGatewayInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ServiceGatewayInner.validate()virtualNetwork
public VirtualNetworkInner virtualNetwork()
Get the virtualNetwork property: Reference to an existing virtual network.
Returns:
withLocation
public ServiceGatewayInner withLocation(String location)
Set the location property: The geo-location where the resource lives.
Overrides:
ServiceGatewayInner.withLocation(String location)Parameters:
withRouteTargetAddress
public ServiceGatewayInner withRouteTargetAddress(RouteTargetAddressPropertiesFormatInner routeTargetAddress)
Set the routeTargetAddress property: Route Target address of Service gateway.
Parameters:
Returns:
withRouteTargetAddressV6
public ServiceGatewayInner withRouteTargetAddressV6(RouteTargetAddressPropertiesFormatInner routeTargetAddressV6)
Set the routeTargetAddressV6 property: Route Target address V6 of Service gateway.
Parameters:
Returns:
withSku
public ServiceGatewayInner withSku(ServiceGatewaySku sku)
Set the sku property: The service gateway SKU.
Parameters:
Returns:
withTags
public ServiceGatewayInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Overrides:
ServiceGatewayInner.withTags(Map<String,String> tags)Parameters:
withVirtualNetwork
public ServiceGatewayInner withVirtualNetwork(VirtualNetworkInner virtualNetwork)
Set the virtualNetwork property: Reference to an existing virtual network.
Parameters:
Returns:
withZones
public ServiceGatewayInner withZones(List<String> zones)
Set the zones property: A list of availability zones denoting the zone in which service gateway should be deployed. - The zone values must be provided as strings representing numeric identifiers like "1", "2", "3" etc.
Parameters:
Returns:
zones
public List<String> zones()
Get the zones property: A list of availability zones denoting the zone in which service gateway should be deployed. - The zone values must be provided as strings representing numeric identifiers like "1", "2", "3" etc.
Returns: