ContainerAppsSourceControls interface
表示 ContainerAppsSourceControls 的接口。
方法
| begin |
为容器应用创建或更新 SourceControl。 |
| begin |
为容器应用创建或更新 SourceControl。 |
| begin |
删除容器应用 SourceControl。 |
| begin |
删除容器应用 SourceControl。 |
| get(string, string, string, Container |
获取容器应用的 SourceControl。 |
| list |
获取给定资源组中的容器应用 SourceControls。 |
方法详细信息
beginCreateOrUpdate(string, string, string, SourceControl, ContainerAppsSourceControlsCreateOrUpdateOptionalParams)
为容器应用创建或更新 SourceControl。
function beginCreateOrUpdate(resourceGroupName: string, containerAppName: string, sourceControlName: string, sourceControlEnvelope: SourceControl, options?: ContainerAppsSourceControlsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SourceControl>, SourceControl>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- containerAppName
-
string
容器应用的名称。
- sourceControlName
-
string
容器应用 SourceControl 的名称。
- sourceControlEnvelope
- SourceControl
用于创建容器应用 SourceControl 的属性
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<SourceControl>, SourceControl>>
beginCreateOrUpdateAndWait(string, string, string, SourceControl, ContainerAppsSourceControlsCreateOrUpdateOptionalParams)
为容器应用创建或更新 SourceControl。
function beginCreateOrUpdateAndWait(resourceGroupName: string, containerAppName: string, sourceControlName: string, sourceControlEnvelope: SourceControl, options?: ContainerAppsSourceControlsCreateOrUpdateOptionalParams): Promise<SourceControl>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- containerAppName
-
string
容器应用的名称。
- sourceControlName
-
string
容器应用 SourceControl 的名称。
- sourceControlEnvelope
- SourceControl
用于创建容器应用 SourceControl 的属性
选项参数。
返回
Promise<SourceControl>
beginDelete(string, string, string, ContainerAppsSourceControlsDeleteOptionalParams)
删除容器应用 SourceControl。
function beginDelete(resourceGroupName: string, containerAppName: string, sourceControlName: string, options?: ContainerAppsSourceControlsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- containerAppName
-
string
容器应用的名称。
- sourceControlName
-
string
容器应用 SourceControl 的名称。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, ContainerAppsSourceControlsDeleteOptionalParams)
删除容器应用 SourceControl。
function beginDeleteAndWait(resourceGroupName: string, containerAppName: string, sourceControlName: string, options?: ContainerAppsSourceControlsDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- containerAppName
-
string
容器应用的名称。
- sourceControlName
-
string
容器应用 SourceControl 的名称。
选项参数。
返回
Promise<void>
get(string, string, string, ContainerAppsSourceControlsGetOptionalParams)
获取容器应用的 SourceControl。
function get(resourceGroupName: string, containerAppName: string, sourceControlName: string, options?: ContainerAppsSourceControlsGetOptionalParams): Promise<SourceControl>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- containerAppName
-
string
容器应用的名称。
- sourceControlName
-
string
容器应用 SourceControl 的名称。
选项参数。
返回
Promise<SourceControl>
listByContainerApp(string, string, ContainerAppsSourceControlsListByContainerAppOptionalParams)
获取给定资源组中的容器应用 SourceControls。
function listByContainerApp(resourceGroupName: string, containerAppName: string, options?: ContainerAppsSourceControlsListByContainerAppOptionalParams): PagedAsyncIterableIterator<SourceControl, SourceControl[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- containerAppName
-
string
容器应用的名称。