通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceGateways interface

代表服务网关的接口。

方法

beginCreateOrUpdate(string, string, ServiceGateway, ServiceGatewaysCreateOrUpdateOptionalParams)

创建或更新服务网关。

beginCreateOrUpdateAndWait(string, string, ServiceGateway, ServiceGatewaysCreateOrUpdateOptionalParams)

创建或更新服务网关。

beginDelete(string, string, ServiceGatewaysDeleteOptionalParams)

删除指定的服务网关。

beginDeleteAndWait(string, string, ServiceGatewaysDeleteOptionalParams)

删除指定的服务网关。

beginUpdateAddressLocations(string, string, ServiceGatewayUpdateAddressLocationsRequest, ServiceGatewaysUpdateAddressLocationsOptionalParams)

创建或更新服务网关内的地址位置。

请求支持两个层级的全更新和部分更新模式:位置和地址。

完整更新替换了所有现有数据。

部分更新仅修改指定的条目:

对于位置层级的部分更新,如果未提供地址,现有地址将被删除。

对于地址层的部分更新,如果没有提供任何服务,现有服务将被考虑删除。

beginUpdateAddressLocationsAndWait(string, string, ServiceGatewayUpdateAddressLocationsRequest, ServiceGatewaysUpdateAddressLocationsOptionalParams)

创建或更新服务网关内的地址位置。

请求支持两个层级的全更新和部分更新模式:位置和地址。

完整更新替换了所有现有数据。

部分更新仅修改指定的条目:

对于位置层级的部分更新,如果未提供地址,现有地址将被删除。

对于地址层的部分更新,如果没有提供任何服务,现有服务将被考虑删除。

beginUpdateServices(string, string, ServiceGatewayUpdateServicesRequest, ServiceGatewaysUpdateServicesOptionalParams)

创建、更新或删除服务网关内的服务。 该请求在服务层面支持全更新和部分更新模式。

完整更新将用请求中提供的新列表替换所有现有服务。 部分更新只修改指定的服务。

beginUpdateServicesAndWait(string, string, ServiceGatewayUpdateServicesRequest, ServiceGatewaysUpdateServicesOptionalParams)

创建、更新或删除服务网关内的服务。 该请求在服务层面支持全更新和部分更新模式。

完整更新将用请求中提供的新列表替换所有现有服务。 部分更新只修改指定的服务。

get(string, string, ServiceGatewaysGetOptionalParams)

获得指定的服务网关。

list(string, ServiceGatewaysListOptionalParams)

获取资源组中的所有服务网关。

listAddressLocations(string, string, ServiceGatewaysGetAddressLocationsOptionalParams)

在服务网关获取地址位置。

listAll(ServiceGatewaysListAllOptionalParams)

订阅时能获得所有服务网关。

listServices(string, string, ServiceGatewaysGetServicesOptionalParams)

在服务网关中获取服务。

updateTags(string, string, TagsObject, ServiceGatewaysUpdateTagsOptionalParams)

更新服务网关标签。

方法详细信息

beginCreateOrUpdate(string, string, ServiceGateway, ServiceGatewaysCreateOrUpdateOptionalParams)

创建或更新服务网关。

function beginCreateOrUpdate(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGateway, options?: ServiceGatewaysCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServiceGateway>, ServiceGateway>>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

serviceGatewayName

string

服务网关的名称。

parameters
ServiceGateway

为创建或更新服务网关作提供的参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<ServiceGateway>, ServiceGateway>>

beginCreateOrUpdateAndWait(string, string, ServiceGateway, ServiceGatewaysCreateOrUpdateOptionalParams)

创建或更新服务网关。

function beginCreateOrUpdateAndWait(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGateway, options?: ServiceGatewaysCreateOrUpdateOptionalParams): Promise<ServiceGateway>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

serviceGatewayName

string

服务网关的名称。

parameters
ServiceGateway

为创建或更新服务网关作提供的参数。

返回

Promise<ServiceGateway>

beginDelete(string, string, ServiceGatewaysDeleteOptionalParams)

删除指定的服务网关。

function beginDelete(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ServiceGatewaysDeleteHeaders>, ServiceGatewaysDeleteHeaders>>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

serviceGatewayName

string

服务网关的名称。

options
ServiceGatewaysDeleteOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<ServiceGatewaysDeleteHeaders>, ServiceGatewaysDeleteHeaders>>

beginDeleteAndWait(string, string, ServiceGatewaysDeleteOptionalParams)

删除指定的服务网关。

function beginDeleteAndWait(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysDeleteOptionalParams): Promise<ServiceGatewaysDeleteHeaders>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

serviceGatewayName

string

服务网关的名称。

options
ServiceGatewaysDeleteOptionalParams

选项参数。

返回

beginUpdateAddressLocations(string, string, ServiceGatewayUpdateAddressLocationsRequest, ServiceGatewaysUpdateAddressLocationsOptionalParams)

创建或更新服务网关内的地址位置。

请求支持两个层级的全更新和部分更新模式:位置和地址。

完整更新替换了所有现有数据。

部分更新仅修改指定的条目:

对于位置层级的部分更新,如果未提供地址,现有地址将被删除。

对于地址层的部分更新,如果没有提供任何服务,现有服务将被考虑删除。

function beginUpdateAddressLocations(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGatewayUpdateAddressLocationsRequest, options?: ServiceGatewaysUpdateAddressLocationsOptionalParams): Promise<SimplePollerLike<OperationState<ServiceGatewaysUpdateAddressLocationsHeaders>, ServiceGatewaysUpdateAddressLocationsHeaders>>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

serviceGatewayName

string

服务网关的名称。

parameters
ServiceGatewayUpdateAddressLocationsRequest

提供给服务网关作中创建或更新地址位置的参数。

返回

beginUpdateAddressLocationsAndWait(string, string, ServiceGatewayUpdateAddressLocationsRequest, ServiceGatewaysUpdateAddressLocationsOptionalParams)

创建或更新服务网关内的地址位置。

请求支持两个层级的全更新和部分更新模式:位置和地址。

完整更新替换了所有现有数据。

部分更新仅修改指定的条目:

对于位置层级的部分更新,如果未提供地址,现有地址将被删除。

对于地址层的部分更新,如果没有提供任何服务,现有服务将被考虑删除。

function beginUpdateAddressLocationsAndWait(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGatewayUpdateAddressLocationsRequest, options?: ServiceGatewaysUpdateAddressLocationsOptionalParams): Promise<ServiceGatewaysUpdateAddressLocationsHeaders>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

serviceGatewayName

string

服务网关的名称。

parameters
ServiceGatewayUpdateAddressLocationsRequest

提供给服务网关作中创建或更新地址位置的参数。

返回

beginUpdateServices(string, string, ServiceGatewayUpdateServicesRequest, ServiceGatewaysUpdateServicesOptionalParams)

创建、更新或删除服务网关内的服务。 该请求在服务层面支持全更新和部分更新模式。

完整更新将用请求中提供的新列表替换所有现有服务。 部分更新只修改指定的服务。

function beginUpdateServices(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGatewayUpdateServicesRequest, options?: ServiceGatewaysUpdateServicesOptionalParams): Promise<SimplePollerLike<OperationState<ServiceGatewaysUpdateServicesHeaders>, ServiceGatewaysUpdateServicesHeaders>>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

serviceGatewayName

string

服务网关的名称。

parameters
ServiceGatewayUpdateServicesRequest

为创建或更新服务在服务网关作中提供的参数。

返回

beginUpdateServicesAndWait(string, string, ServiceGatewayUpdateServicesRequest, ServiceGatewaysUpdateServicesOptionalParams)

创建、更新或删除服务网关内的服务。 该请求在服务层面支持全更新和部分更新模式。

完整更新将用请求中提供的新列表替换所有现有服务。 部分更新只修改指定的服务。

function beginUpdateServicesAndWait(resourceGroupName: string, serviceGatewayName: string, parameters: ServiceGatewayUpdateServicesRequest, options?: ServiceGatewaysUpdateServicesOptionalParams): Promise<ServiceGatewaysUpdateServicesHeaders>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

serviceGatewayName

string

服务网关的名称。

parameters
ServiceGatewayUpdateServicesRequest

为创建或更新服务在服务网关作中提供的参数。

返回

get(string, string, ServiceGatewaysGetOptionalParams)

获得指定的服务网关。

function get(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysGetOptionalParams): Promise<ServiceGateway>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

serviceGatewayName

string

服务网关的名称。

options
ServiceGatewaysGetOptionalParams

选项参数。

返回

Promise<ServiceGateway>

list(string, ServiceGatewaysListOptionalParams)

获取资源组中的所有服务网关。

function list(resourceGroupName: string, options?: ServiceGatewaysListOptionalParams): PagedAsyncIterableIterator<ServiceGateway, ServiceGateway[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

options
ServiceGatewaysListOptionalParams

选项参数。

返回

listAddressLocations(string, string, ServiceGatewaysGetAddressLocationsOptionalParams)

在服务网关获取地址位置。

function listAddressLocations(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysGetAddressLocationsOptionalParams): PagedAsyncIterableIterator<ServiceGatewayAddressLocationResponse, ServiceGatewayAddressLocationResponse[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

serviceGatewayName

string

服务网关的名称。

返回

listAll(ServiceGatewaysListAllOptionalParams)

订阅时能获得所有服务网关。

function listAll(options?: ServiceGatewaysListAllOptionalParams): PagedAsyncIterableIterator<ServiceGateway, ServiceGateway[], PageSettings>

参数

options
ServiceGatewaysListAllOptionalParams

选项参数。

返回

listServices(string, string, ServiceGatewaysGetServicesOptionalParams)

在服务网关中获取服务。

function listServices(resourceGroupName: string, serviceGatewayName: string, options?: ServiceGatewaysGetServicesOptionalParams): PagedAsyncIterableIterator<ServiceGatewayService, ServiceGatewayService[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

serviceGatewayName

string

服务网关的名称。

返回

updateTags(string, string, TagsObject, ServiceGatewaysUpdateTagsOptionalParams)

更新服务网关标签。

function updateTags(resourceGroupName: string, serviceGatewayName: string, parameters: TagsObject, options?: ServiceGatewaysUpdateTagsOptionalParams): Promise<ServiceGateway>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

serviceGatewayName

string

服务网关的名称。

parameters
TagsObject

参数用于更新服务网关标签。

options
ServiceGatewaysUpdateTagsOptionalParams

选项参数。

返回

Promise<ServiceGateway>