你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Endpoints interface
表示终结点的接口。
方法
方法详细信息
createOrUpdate(string, string, EndpointType, string, Endpoint, EndpointsCreateOrUpdateOptionalParams)
创建或更新流量管理器终结点。
function createOrUpdate(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsCreateOrUpdateOptionalParams): Promise<Endpoint>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- profileName
-
string
流量管理器配置文件的名称。
- endpointType
- EndpointType
要创建或更新的流量管理器终结点的类型。
- endpointName
-
string
要创建或更新的流量管理器终结点的名称。
- parameters
- Endpoint
提供给 CreateOrUpdate 操作的流量管理器终结点参数。
选项参数。
返回
Promise<Endpoint>
delete(string, string, EndpointType, string, EndpointsDeleteOptionalParams)
删除流量管理器终结点。
function delete(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsDeleteOptionalParams): Promise<DeleteOperationResult>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- profileName
-
string
流量管理器配置文件的名称。
- endpointType
- EndpointType
要删除的流量管理器终结点的类型。
- endpointName
-
string
要删除的流量管理器终结点的名称。
- options
- EndpointsDeleteOptionalParams
选项参数。
返回
Promise<DeleteOperationResult>
get(string, string, EndpointType, string, EndpointsGetOptionalParams)
获取流量管理器终结点。
function get(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsGetOptionalParams): Promise<Endpoint>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- profileName
-
string
流量管理器配置文件的名称。
- endpointType
- EndpointType
流量管理器终结点的类型。
- endpointName
-
string
流量管理器终结点的名称。
- options
- EndpointsGetOptionalParams
选项参数。
返回
Promise<Endpoint>
update(string, string, EndpointType, string, Endpoint, EndpointsUpdateOptionalParams)
更新流量管理器终结点。
function update(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsUpdateOptionalParams): Promise<Endpoint>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- profileName
-
string
流量管理器配置文件的名称。
- endpointType
- EndpointType
要更新的流量管理器终结点的类型。
- endpointName
-
string
要更新的流量管理器终结点的名称。
- parameters
- Endpoint
提供给更新操作的流量管理器终结点参数。
- options
- EndpointsUpdateOptionalParams
选项参数。
返回
Promise<Endpoint>