CodeVersions Interface
public interface CodeVersions
Resource collection API of CodeVersions.
Method Summary
Method Details
createOrGetStartPendingUpload
public abstract PendingUploadResponseDto 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<PendingUploadResponseDto> 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:
define
public abstract CodeVersion.DefinitionStages.Blank define(String name)
Begins definition for a new CodeVersion resource.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String workspaceName, String name, String version)
Delete version.
Parameters:
deleteById
public abstract void deleteById(String id)
Delete version.
Parameters:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, Context context)
Delete version.
Parameters:
Returns:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String name, String version, Context context)
Delete version.
Parameters:
Returns:
get
public abstract CodeVersion get(String resourceGroupName, String workspaceName, String name, String version)
Get version.
Parameters:
Returns:
getById
public abstract CodeVersion getById(String id)
Get version.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<CodeVersion> getByIdWithResponse(String id, Context context)
Get version.
Parameters:
Returns:
getWithResponse
public abstract Response<CodeVersion> getWithResponse(String resourceGroupName, String workspaceName, String name, String version, Context context)
Get version.
Parameters:
Returns:
list
public abstract PagedIterable<CodeVersion> list(String resourceGroupName, String workspaceName, String name)
List versions.
Parameters:
Returns:
list
public abstract PagedIterable<CodeVersion> 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: