ServiceGateways interface
Interface representing a ServiceGateways.
Methods
| begin |
Creates or updates a service gateway. |
| begin |
Creates or updates a service gateway. |
| begin |
Deletes the specified service gateway. |
| begin |
Deletes the specified service gateway. |
| begin |
Creates or updates address locations within the service gateway. The request supports both full and partial update modes at two levels: location and address. Full update replaces all existing data. Partial update modifies only the specified entries: For location-level partial updates, if no address is provided, the existing address will be deleted. For address-level partial updates, if no services are provided, the existing services will be considered for deletion. |
| begin |
Creates or updates address locations within the service gateway. The request supports both full and partial update modes at two levels: location and address. Full update replaces all existing data. Partial update modifies only the specified entries: For location-level partial updates, if no address is provided, the existing address will be deleted. For address-level partial updates, if no services are provided, the existing services will be considered for deletion. |
| begin |
Creates, updates, or deletes services within the service gateway. The request supports both full and partial update modes at the service level. Full update replaces all existing services with the new list provided in the request. Partial update modifies only the specified services. |
| begin |
Creates, updates, or deletes services within the service gateway. The request supports both full and partial update modes at the service level. Full update replaces all existing services with the new list provided in the request. Partial update modifies only the specified services. |
| get(string, string, Service |
Gets the specified service gateway. |
| list(string, Service |
Gets all the service gateways in a resource group. |
| list |
Get address locations in service gateway. |
| list |
Gets all the service gateways in a subscription. |
| list |
Get Services in service gateway. |
| update |
Updates a service gateway tags. |
Method Details
beginCreateOrUpdate(string, string, ServiceGateway, ServiceGatewaysCreateOrUpdateOptionalParams)
Creates or updates a service gateway.
function beginCreateOrUpdate(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGateway, options?: ServiceGatewaysCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServiceGateway>, ServiceGateway>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceGatewayName
-
string
The name of the service gateway.
- parameters
- ServiceGateway
Parameters supplied to the create or update service gateway operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServiceGateway>, ServiceGateway>>
beginCreateOrUpdateAndWait(string, string, ServiceGateway, ServiceGatewaysCreateOrUpdateOptionalParams)
Creates or updates a service gateway.
function beginCreateOrUpdateAndWait(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGateway, options?: ServiceGatewaysCreateOrUpdateOptionalParams): Promise<ServiceGateway>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceGatewayName
-
string
The name of the service gateway.
- parameters
- ServiceGateway
Parameters supplied to the create or update service gateway operation.
The options parameters.
Returns
Promise<ServiceGateway>
beginDelete(string, string, ServiceGatewaysDeleteOptionalParams)
Deletes the specified service gateway.
function beginDelete(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ServiceGatewaysDeleteHeaders>, ServiceGatewaysDeleteHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceGatewayName
-
string
The name of the service gateway.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServiceGatewaysDeleteHeaders>, ServiceGatewaysDeleteHeaders>>
beginDeleteAndWait(string, string, ServiceGatewaysDeleteOptionalParams)
Deletes the specified service gateway.
function beginDeleteAndWait(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysDeleteOptionalParams): Promise<ServiceGatewaysDeleteHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceGatewayName
-
string
The name of the service gateway.
The options parameters.
Returns
Promise<ServiceGatewaysDeleteHeaders>
beginUpdateAddressLocations(string, string, ServiceGatewayUpdateAddressLocationsRequest, ServiceGatewaysUpdateAddressLocationsOptionalParams)
Creates or updates address locations within the service gateway.
The request supports both full and partial update modes at two levels: location and address.
Full update replaces all existing data.
Partial update modifies only the specified entries:
For location-level partial updates, if no address is provided, the existing address will be deleted.
For address-level partial updates, if no services are provided, the existing services will be considered for deletion.
function beginUpdateAddressLocations(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGatewayUpdateAddressLocationsRequest, options?: ServiceGatewaysUpdateAddressLocationsOptionalParams): Promise<SimplePollerLike<OperationState<ServiceGatewaysUpdateAddressLocationsHeaders>, ServiceGatewaysUpdateAddressLocationsHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceGatewayName
-
string
The name of the service gateway.
- parameters
- ServiceGatewayUpdateAddressLocationsRequest
Parameters supplied to the create or updates address locations in service gateway operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServiceGatewaysUpdateAddressLocationsHeaders>, ServiceGatewaysUpdateAddressLocationsHeaders>>
beginUpdateAddressLocationsAndWait(string, string, ServiceGatewayUpdateAddressLocationsRequest, ServiceGatewaysUpdateAddressLocationsOptionalParams)
Creates or updates address locations within the service gateway.
The request supports both full and partial update modes at two levels: location and address.
Full update replaces all existing data.
Partial update modifies only the specified entries:
For location-level partial updates, if no address is provided, the existing address will be deleted.
For address-level partial updates, if no services are provided, the existing services will be considered for deletion.
function beginUpdateAddressLocationsAndWait(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGatewayUpdateAddressLocationsRequest, options?: ServiceGatewaysUpdateAddressLocationsOptionalParams): Promise<ServiceGatewaysUpdateAddressLocationsHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceGatewayName
-
string
The name of the service gateway.
- parameters
- ServiceGatewayUpdateAddressLocationsRequest
Parameters supplied to the create or updates address locations in service gateway operation.
The options parameters.
Returns
beginUpdateServices(string, string, ServiceGatewayUpdateServicesRequest, ServiceGatewaysUpdateServicesOptionalParams)
Creates, updates, or deletes services within the service gateway. The request supports both full and partial update modes at the service level.
Full update replaces all existing services with the new list provided in the request. Partial update modifies only the specified services.
function beginUpdateServices(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGatewayUpdateServicesRequest, options?: ServiceGatewaysUpdateServicesOptionalParams): Promise<SimplePollerLike<OperationState<ServiceGatewaysUpdateServicesHeaders>, ServiceGatewaysUpdateServicesHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceGatewayName
-
string
The name of the service gateway.
- parameters
- ServiceGatewayUpdateServicesRequest
Parameters supplied to the create or updates services in service gateway operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServiceGatewaysUpdateServicesHeaders>, ServiceGatewaysUpdateServicesHeaders>>
beginUpdateServicesAndWait(string, string, ServiceGatewayUpdateServicesRequest, ServiceGatewaysUpdateServicesOptionalParams)
Creates, updates, or deletes services within the service gateway. The request supports both full and partial update modes at the service level.
Full update replaces all existing services with the new list provided in the request. Partial update modifies only the specified services.
function beginUpdateServicesAndWait(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGatewayUpdateServicesRequest, options?: ServiceGatewaysUpdateServicesOptionalParams): Promise<ServiceGatewaysUpdateServicesHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceGatewayName
-
string
The name of the service gateway.
- parameters
- ServiceGatewayUpdateServicesRequest
Parameters supplied to the create or updates services in service gateway operation.
The options parameters.
Returns
Promise<ServiceGatewaysUpdateServicesHeaders>
get(string, string, ServiceGatewaysGetOptionalParams)
Gets the specified service gateway.
function get(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysGetOptionalParams): Promise<ServiceGateway>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceGatewayName
-
string
The name of the service gateway.
- options
- ServiceGatewaysGetOptionalParams
The options parameters.
Returns
Promise<ServiceGateway>
list(string, ServiceGatewaysListOptionalParams)
Gets all the service gateways in a resource group.
function list(resourceGroupName: string, options?: ServiceGatewaysListOptionalParams): PagedAsyncIterableIterator<ServiceGateway, ServiceGateway[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listAddressLocations(string, string, ServiceGatewaysGetAddressLocationsOptionalParams)
Get address locations in service gateway.
function listAddressLocations(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysGetAddressLocationsOptionalParams): PagedAsyncIterableIterator<ServiceGatewayAddressLocationResponse, ServiceGatewayAddressLocationResponse[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceGatewayName
-
string
The name of the service gateway.
The options parameters.
Returns
listAll(ServiceGatewaysListAllOptionalParams)
Gets all the service gateways in a subscription.
function listAll(options?: ServiceGatewaysListAllOptionalParams): PagedAsyncIterableIterator<ServiceGateway, ServiceGateway[], PageSettings>
Parameters
The options parameters.
Returns
listServices(string, string, ServiceGatewaysGetServicesOptionalParams)
Get Services in service gateway.
function listServices(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysGetServicesOptionalParams): PagedAsyncIterableIterator<ServiceGatewayService, ServiceGatewayService[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceGatewayName
-
string
The name of the service gateway.
The options parameters.
Returns
updateTags(string, string, TagsObject, ServiceGatewaysUpdateTagsOptionalParams)
Updates a service gateway tags.
function updateTags(resourceGroupName: string, serviceGatewayName: string, parameters: TagsObject, options?: ServiceGatewaysUpdateTagsOptionalParams): Promise<ServiceGateway>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- serviceGatewayName
-
string
The name of the service gateway.
- parameters
- TagsObject
Parameters supplied to update service gateway tags.
The options parameters.
Returns
Promise<ServiceGateway>