CodeVersionsClient Interface
public interface CodeVersionsClient
An instance of this class provides access to all the operations defined in CodeVersionsClient.
Method Summary
Method Details
beginPublish
public abstract SyncPoller<PollResult<Void>,Void> beginPublish(String resourceGroupName, String workspaceName, String name, String version, DestinationAsset body)
Publish version asset into registry.
Parameters:
Returns:
beginPublish
public abstract SyncPoller<PollResult<Void>,Void> beginPublish(String resourceGroupName, String workspaceName, String name, String version, DestinationAsset body, Context context)
Publish version asset into registry.
Parameters:
Returns:
createOrGetStartPendingUpload
public abstract PendingUploadResponseDtoInner createOrGetStartPendingUpload(String resourceGroupName, String workspaceName, String name, String version, PendingUploadRequestDto body)
Generate a storage location and credential for the client to upload a code asset to.
Parameters:
Returns:
createOrGetStartPendingUploadWithResponse
public abstract Response<PendingUploadResponseDtoInner> createOrGetStartPendingUploadWithResponse(String resourceGroupName, String workspaceName, String name, String version, PendingUploadRequestDto body, Context context)
Generate a storage location and credential for the client to upload a code asset to.
Parameters:
Returns:
createOrUpdate
public abstract CodeVersionInner createOrUpdate(String resourceGroupName, String workspaceName, String name, String version, CodeVersionInner body)
Create or update version.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<CodeVersionInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String name, String version, CodeVersionInner body, Context context)
Create or update version.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String workspaceName, String name, String version)
Delete version.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String name, String version, Context context)
Delete version.
Parameters:
Returns:
get
public abstract CodeVersionInner get(String resourceGroupName, String workspaceName, String name, String version)
Get version.
Parameters:
Returns:
getWithResponse
public abstract Response<CodeVersionInner> getWithResponse(String resourceGroupName, String workspaceName, String name, String version, Context context)
Get version.
Parameters:
Returns:
list
public abstract PagedIterable<CodeVersionInner> list(String resourceGroupName, String workspaceName, String name)
List versions.
Parameters:
Returns:
list
public abstract PagedIterable<CodeVersionInner> list(String resourceGroupName, String workspaceName, String name, String orderBy, Integer top, String skip, String hash, String hashVersion, Context context)
List versions.
Parameters:
Returns:
publish
public abstract void publish(String resourceGroupName, String workspaceName, String name, String version, DestinationAsset body)
Publish version asset into registry.
Parameters:
publish
public abstract void publish(String resourceGroupName, String workspaceName, String name, String version, DestinationAsset body, Context context)
Publish version asset into registry.
Parameters: