public final class AzureContainerRegistry extends AzureService
Modifier and Type | Method and Description |
---|---|
rx.Completable |
cancelBuildAsync(String resourceGroupName,
String acrName,
String runId)
Cancel a processing ACR build.
|
static AzureContainerRegistry |
getInstance() |
String |
getLog(String resourceGroupName,
String acrName,
String runId)
Azure Container Registry Build will write build result to an Azure Storage Blob.
|
UploadRequest |
getUploadUrl(String resourceGroupName,
String acrName)
If queue an ACR build from local SCM, need to write the code into an Azure Storage Blob.
|
Collection<String> |
listResourcesName(String resourceGroupName)
List all ACR names in a resource group.
|
String |
queueTaskRequest(String resourceGroupName,
String acrName,
DockerTaskRequest request)
Send a DockerTaskRequest to ACR build.
|
getClient
public String queueTaskRequest(String resourceGroupName, String acrName, DockerTaskRequest request) throws ServiceException
resourceGroupName
- resource group of Azure Container Registry.acrName
- name of Azure Container Registry.request
- request object.ServiceException
public Collection<String> listResourcesName(String resourceGroupName)
resourceGroupName
- resource grouppublic String getLog(String resourceGroupName, String acrName, String runId)
resourceGroupName
- resource group of ACR.acrName
- name of ACR.runId
- run ID.public UploadRequest getUploadUrl(String resourceGroupName, String acrName)
resourceGroupName
- resource group of ACR.acrName
- name of ACR.public rx.Completable cancelBuildAsync(String resourceGroupName, String acrName, String runId)
resourceGroupName
- resource group of ACR.acrName
- name of ACR.runId
- run ID.public static AzureContainerRegistry getInstance()
Copyright © 2016–2021. All rights reserved.