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

ContainerAppsSessionPools interface

表示 ContainerAppsSessionPools 的接口。

方法

beginCreateOrUpdate(string, string, SessionPool, ContainerAppsSessionPoolsCreateOrUpdateOptionalParams)

使用给定属性创建或更新会话池。

beginCreateOrUpdateAndWait(string, string, SessionPool, ContainerAppsSessionPoolsCreateOrUpdateOptionalParams)

使用给定属性创建或更新会话池。

beginDelete(string, string, ContainerAppsSessionPoolsDeleteOptionalParams)

删除具有给定名称的会话池。

beginDeleteAndWait(string, string, ContainerAppsSessionPoolsDeleteOptionalParams)

删除具有给定名称的会话池。

beginUpdate(string, string, SessionPoolUpdatableProperties, ContainerAppsSessionPoolsUpdateOptionalParams)

使用 JSON 合并修补程序修补会话池

beginUpdateAndWait(string, string, SessionPoolUpdatableProperties, ContainerAppsSessionPoolsUpdateOptionalParams)

使用 JSON 合并修补程序修补会话池

get(string, string, ContainerAppsSessionPoolsGetOptionalParams)

获取会话池的属性。

listByResourceGroup(string, ContainerAppsSessionPoolsListByResourceGroupOptionalParams)

获取订阅的给定资源组中的会话池。

listBySubscription(ContainerAppsSessionPoolsListBySubscriptionOptionalParams)

获取给定订阅中的会话池。

方法详细信息

beginCreateOrUpdate(string, string, SessionPool, ContainerAppsSessionPoolsCreateOrUpdateOptionalParams)

使用给定属性创建或更新会话池。

function beginCreateOrUpdate(resourceGroupName: string, sessionPoolName: string, sessionPoolEnvelope: SessionPool, options?: ContainerAppsSessionPoolsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SessionPool>, SessionPool>>

参数

resourceGroupName

string

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

sessionPoolName

string

会话池的名称。

sessionPoolEnvelope
SessionPool

用于创建会话池的属性

返回

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

beginCreateOrUpdateAndWait(string, string, SessionPool, ContainerAppsSessionPoolsCreateOrUpdateOptionalParams)

使用给定属性创建或更新会话池。

function beginCreateOrUpdateAndWait(resourceGroupName: string, sessionPoolName: string, sessionPoolEnvelope: SessionPool, options?: ContainerAppsSessionPoolsCreateOrUpdateOptionalParams): Promise<SessionPool>

参数

resourceGroupName

string

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

sessionPoolName

string

会话池的名称。

sessionPoolEnvelope
SessionPool

用于创建会话池的属性

返回

Promise<SessionPool>

beginDelete(string, string, ContainerAppsSessionPoolsDeleteOptionalParams)

删除具有给定名称的会话池。

function beginDelete(resourceGroupName: string, sessionPoolName: string, options?: ContainerAppsSessionPoolsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ContainerAppsSessionPoolsDeleteHeaders>, ContainerAppsSessionPoolsDeleteHeaders>>

参数

resourceGroupName

string

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

sessionPoolName

string

会话池的名称。

返回

beginDeleteAndWait(string, string, ContainerAppsSessionPoolsDeleteOptionalParams)

删除具有给定名称的会话池。

function beginDeleteAndWait(resourceGroupName: string, sessionPoolName: string, options?: ContainerAppsSessionPoolsDeleteOptionalParams): Promise<ContainerAppsSessionPoolsDeleteHeaders>

参数

resourceGroupName

string

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

sessionPoolName

string

会话池的名称。

返回

beginUpdate(string, string, SessionPoolUpdatableProperties, ContainerAppsSessionPoolsUpdateOptionalParams)

使用 JSON 合并修补程序修补会话池

function beginUpdate(resourceGroupName: string, sessionPoolName: string, sessionPoolEnvelope: SessionPoolUpdatableProperties, options?: ContainerAppsSessionPoolsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SessionPool>, SessionPool>>

参数

resourceGroupName

string

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

sessionPoolName

string

会话池的名称。

sessionPoolEnvelope
SessionPoolUpdatableProperties

用于创建会话池的属性

返回

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

beginUpdateAndWait(string, string, SessionPoolUpdatableProperties, ContainerAppsSessionPoolsUpdateOptionalParams)

使用 JSON 合并修补程序修补会话池

function beginUpdateAndWait(resourceGroupName: string, sessionPoolName: string, sessionPoolEnvelope: SessionPoolUpdatableProperties, options?: ContainerAppsSessionPoolsUpdateOptionalParams): Promise<SessionPool>

参数

resourceGroupName

string

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

sessionPoolName

string

会话池的名称。

sessionPoolEnvelope
SessionPoolUpdatableProperties

用于创建会话池的属性

返回

Promise<SessionPool>

get(string, string, ContainerAppsSessionPoolsGetOptionalParams)

获取会话池的属性。

function get(resourceGroupName: string, sessionPoolName: string, options?: ContainerAppsSessionPoolsGetOptionalParams): Promise<SessionPool>

参数

resourceGroupName

string

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

sessionPoolName

string

会话池的名称。

返回

Promise<SessionPool>

listByResourceGroup(string, ContainerAppsSessionPoolsListByResourceGroupOptionalParams)

获取订阅的给定资源组中的会话池。

function listByResourceGroup(resourceGroupName: string, options?: ContainerAppsSessionPoolsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SessionPool, SessionPool[], PageSettings>

参数

resourceGroupName

string

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

返回

listBySubscription(ContainerAppsSessionPoolsListBySubscriptionOptionalParams)

获取给定订阅中的会话池。

function listBySubscription(options?: ContainerAppsSessionPoolsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SessionPool, SessionPool[], PageSettings>

参数

返回