ContextsOperations interface
表示上下文作的接口。
属性
| create |
创建或更新上下文资源 |
| delete | |
| get | 获取上下文资源 |
| list |
按指定资源组列出 |
| list |
按订阅列出 |
| update | 更新上下文资源 |
属性详细信息
createOrUpdate
创建或更新上下文资源
createOrUpdate: (resourceGroupName: string, contextName: string, resource: Context, options?: ContextsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Context>, Context>
属性值
(resourceGroupName: string, contextName: string, resource: Context, options?: ContextsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Context>, Context>
delete
delete: (resourceGroupName: string, contextName: string, options?: ContextsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
属性值
(resourceGroupName: string, contextName: string, options?: ContextsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
获取上下文资源
get: (resourceGroupName: string, contextName: string, options?: ContextsGetOptionalParams) => Promise<Context>
属性值
(resourceGroupName: string, contextName: string, options?: ContextsGetOptionalParams) => Promise<Context>
listByResourceGroup
按指定资源组列出
listByResourceGroup: (resourceGroupName: string, options?: ContextsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Context, Context[], PageSettings>
属性值
(resourceGroupName: string, options?: ContextsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Context, Context[], PageSettings>
listBySubscription
按订阅列出
listBySubscription: (options?: ContextsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Context, Context[], PageSettings>
属性值
(options?: ContextsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Context, Context[], PageSettings>
update
更新上下文资源
update: (resourceGroupName: string, contextName: string, properties: ContextUpdate, options?: ContextsUpdateOptionalParams) => PollerLike<OperationState<Context>, Context>
属性值
(resourceGroupName: string, contextName: string, properties: ContextUpdate, options?: ContextsUpdateOptionalParams) => PollerLike<OperationState<Context>, Context>