Gateways interface
Interface representing a Gateways.
Methods
| begin |
The operation to create or update a gateway. |
| begin |
The operation to create or update a gateway. |
| begin |
The operation to delete a gateway. |
| begin |
The operation to delete a gateway. |
| get(string, string, Gateways |
Retrieves information about the view of a gateway. |
| list |
The operation to get all gateways of a non-Azure machine |
| list |
The operation to get all gateways of a non-Azure machine |
| update(string, string, Gateway |
The operation to update a gateway. |
Method Details
beginCreateOrUpdate(string, string, Gateway, GatewaysCreateOrUpdateOptionalParams)
The operation to create or update a gateway.
function beginCreateOrUpdate(resourceGroupName: string, gatewayName: string, parameters: Gateway, options?: GatewaysCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Gateway>, Gateway>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- gatewayName
-
string
The name of the Gateway.
- parameters
- Gateway
Parameters supplied to the Create gateway operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Gateway>, Gateway>>
beginCreateOrUpdateAndWait(string, string, Gateway, GatewaysCreateOrUpdateOptionalParams)
The operation to create or update a gateway.
function beginCreateOrUpdateAndWait(resourceGroupName: string, gatewayName: string, parameters: Gateway, options?: GatewaysCreateOrUpdateOptionalParams): Promise<Gateway>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- gatewayName
-
string
The name of the Gateway.
- parameters
- Gateway
Parameters supplied to the Create gateway operation.
The options parameters.
Returns
Promise<Gateway>
beginDelete(string, string, GatewaysDeleteOptionalParams)
The operation to delete a gateway.
function beginDelete(resourceGroupName: string, gatewayName: string, options?: GatewaysDeleteOptionalParams): Promise<SimplePollerLike<OperationState<GatewaysDeleteHeaders>, GatewaysDeleteHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- gatewayName
-
string
The name of the Gateway.
- options
- GatewaysDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<GatewaysDeleteHeaders>, GatewaysDeleteHeaders>>
beginDeleteAndWait(string, string, GatewaysDeleteOptionalParams)
The operation to delete a gateway.
function beginDeleteAndWait(resourceGroupName: string, gatewayName: string, options?: GatewaysDeleteOptionalParams): Promise<GatewaysDeleteHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- gatewayName
-
string
The name of the Gateway.
- options
- GatewaysDeleteOptionalParams
The options parameters.
Returns
Promise<GatewaysDeleteHeaders>
get(string, string, GatewaysGetOptionalParams)
Retrieves information about the view of a gateway.
function get(resourceGroupName: string, gatewayName: string, options?: GatewaysGetOptionalParams): Promise<Gateway>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- gatewayName
-
string
The name of the Gateway.
- options
- GatewaysGetOptionalParams
The options parameters.
Returns
Promise<Gateway>
listByResourceGroup(string, GatewaysListByResourceGroupOptionalParams)
The operation to get all gateways of a non-Azure machine
function listByResourceGroup(resourceGroupName: string, options?: GatewaysListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Gateway, Gateway[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(GatewaysListBySubscriptionOptionalParams)
The operation to get all gateways of a non-Azure machine
function listBySubscription(options?: GatewaysListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Gateway, Gateway[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, GatewayUpdate, GatewaysUpdateOptionalParams)
The operation to update a gateway.
function update(resourceGroupName: string, gatewayName: string, parameters: GatewayUpdate, options?: GatewaysUpdateOptionalParams): Promise<Gateway>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- gatewayName
-
string
The name of the Gateway.
- parameters
- GatewayUpdate
Parameters supplied to the Update gateway operation.
- options
- GatewaysUpdateOptionalParams
The options parameters.
Returns
Promise<Gateway>