Share via


ServiceGateway Class

ServiceGateway resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Constructor

ServiceGateway(*, location: str, tags: dict[str, str] | None = None, sku: _models.ServiceGatewaySku | None = None, zones: list[str] | None = None, virtual_network: _models.VirtualNetwork | None = None, route_target_address: _models.RouteTargetAddressPropertiesFormat | None = None, route_target_address_v6: _models.RouteTargetAddressPropertiesFormat | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

Default value: None
location
str

The geo-location where the resource lives. Required.

sku

The service gateway SKU.

Default value: None
zones

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.
Default value: None
virtual_network

Reference to an existing virtual network.

Default value: None
route_target_address

Route Target address of Service gateway.

Default value: None
route_target_address_v6

Route Target address V6 of Service gateway.

Default value: None

Variables

Name Description
id
str

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}".

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

Resource tags.

location
str

The geo-location where the resource lives. Required.

etag
str

A unique read-only string that changes whenever the resource is updated.

sku

The service gateway SKU.

zones

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.
virtual_network

Reference to an existing virtual network.

route_target_address

Route Target address of Service gateway.

route_target_address_v6

Route Target address V6 of Service gateway.

resource_guid
str

The resource GUID property of the service gateway resource.

provisioning_state

The provisioning state of the service gateway resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting".