ArtifactSources class
代表 ArtifactSources 的類別。
建構函式
Artifact |
建立 ArtifactSources。 |
方法
建構函式詳細資料
ArtifactSources(AzureDeploymentManagerContext)
建立 ArtifactSources。
new ArtifactSources(client: AzureDeploymentManagerContext)
參數
服務用戶端的參考。
方法詳細資料
createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams)
同步建立新的成品來源或更新現有的成品來源。
function createOrUpdate(resourceGroupName: string, artifactSourceName: string, options?: ArtifactSourcesCreateOrUpdateOptionalParams): Promise<ArtifactSourcesCreateOrUpdateResponse>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- artifactSourceName
-
string
成品來源的名稱。
選擇性參數
傳回
Promise < Models.ArtifactSourcesCreateOrUpdateResponse>
createOrUpdate(string, string, ArtifactSourcesCreateOrUpdateOptionalParams, ServiceCallback<ArtifactSource>)
function createOrUpdate(resourceGroupName: string, artifactSourceName: string, options: ArtifactSourcesCreateOrUpdateOptionalParams, callback: ServiceCallback<ArtifactSource>)
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- artifactSourceName
-
string
成品來源的名稱。
選擇性參數
- callback
回呼
createOrUpdate(string, string, ServiceCallback<ArtifactSource>)
function createOrUpdate(resourceGroupName: string, artifactSourceName: string, callback: ServiceCallback<ArtifactSource>)
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- artifactSourceName
-
string
成品來源的名稱。
- callback
回呼
deleteMethod(string, string, RequestOptionsBase)
function deleteMethod(resourceGroupName: string, artifactSourceName: string, options?: RequestOptionsBase): Promise<RestResponse>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- artifactSourceName
-
string
成品來源的名稱。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<RestResponse>
Promise < msRest.RestResponse>
deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, artifactSourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- artifactSourceName
-
string
成品來源的名稱。
- options
- RequestOptionsBase
選擇性參數
- callback
-
ServiceCallback<void>
回呼
deleteMethod(string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, artifactSourceName: string, callback: ServiceCallback<void>)
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- artifactSourceName
-
string
成品來源的名稱。
- callback
-
ServiceCallback<void>
回呼
get(string, string, RequestOptionsBase)
function get(resourceGroupName: string, artifactSourceName: string, options?: RequestOptionsBase): Promise<ArtifactSourcesGetResponse>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- artifactSourceName
-
string
成品來源的名稱。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<ArtifactSourcesGetResponse>
Promise < Models.ArtifactSourcesGetResponse>
get(string, string, RequestOptionsBase, ServiceCallback<ArtifactSource>)
function get(resourceGroupName: string, artifactSourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ArtifactSource>)
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- artifactSourceName
-
string
成品來源的名稱。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
get(string, string, ServiceCallback<ArtifactSource>)
function get(resourceGroupName: string, artifactSourceName: string, callback: ServiceCallback<ArtifactSource>)
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- artifactSourceName
-
string
成品來源的名稱。
- callback
回呼
list(string, RequestOptionsBase)
function list(resourceGroupName: string, options?: RequestOptionsBase): Promise<ArtifactSourcesListResponse>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<ArtifactSourcesListResponse>
Promise < Models.ArtifactSourcesListResponse>
list(string, RequestOptionsBase, ServiceCallback<ArtifactSource[]>)
function list(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<ArtifactSource[]>)
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
list(string, ServiceCallback<ArtifactSource[]>)
function list(resourceGroupName: string, callback: ServiceCallback<ArtifactSource[]>)
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- callback
回呼