CGProfileOperations interface

Interface representing a CGProfile operations.

Properties

createOrUpdate

Create a CGProfile if it doesn't exist or update an existing CGProfile.

delete

Deletes a container group profile.

get

Get the properties of the specified container group profile.

getByRevisionNumber

Gets the properties of the specified revision of the container group profile in the given subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.

listAllRevisions

Get a list of all the revisions of the specified container group profile in the given subscription and resource group. This operation returns properties of each revision of the specified container group profile including containers, image registry credentials, restart policy, IP address type, OS type volumes, revision number, etc.

update

Update a specified container group profile.

Property Details

createOrUpdate

Create a CGProfile if it doesn't exist or update an existing CGProfile.

createOrUpdate: (resourceGroupName: string, containerGroupProfileName: string, containerGroupProfile: ContainerGroupProfile, options?: CGProfileCreateOrUpdateOptionalParams) => Promise<ContainerGroupProfile>

Property Value

(resourceGroupName: string, containerGroupProfileName: string, containerGroupProfile: ContainerGroupProfile, options?: CGProfileCreateOrUpdateOptionalParams) => Promise<ContainerGroupProfile>

delete

Deletes a container group profile.

delete: (resourceGroupName: string, containerGroupProfileName: string, options?: CGProfileDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, containerGroupProfileName: string, options?: CGProfileDeleteOptionalParams) => Promise<void>

get

Get the properties of the specified container group profile.

get: (resourceGroupName: string, containerGroupProfileName: string, options?: CGProfileGetOptionalParams) => Promise<ContainerGroupProfile>

Property Value

(resourceGroupName: string, containerGroupProfileName: string, options?: CGProfileGetOptionalParams) => Promise<ContainerGroupProfile>

getByRevisionNumber

Gets the properties of the specified revision of the container group profile in the given subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.

getByRevisionNumber: (resourceGroupName: string, containerGroupProfileName: string, revisionNumber: string, options?: CGProfileGetByRevisionNumberOptionalParams) => Promise<ContainerGroupProfile>

Property Value

(resourceGroupName: string, containerGroupProfileName: string, revisionNumber: string, options?: CGProfileGetByRevisionNumberOptionalParams) => Promise<ContainerGroupProfile>

listAllRevisions

Get a list of all the revisions of the specified container group profile in the given subscription and resource group. This operation returns properties of each revision of the specified container group profile including containers, image registry credentials, restart policy, IP address type, OS type volumes, revision number, etc.

listAllRevisions: (resourceGroupName: string, containerGroupProfileName: string, options?: CGProfileListAllRevisionsOptionalParams) => PagedAsyncIterableIterator<ContainerGroupProfile, ContainerGroupProfile[], PageSettings>

Property Value

(resourceGroupName: string, containerGroupProfileName: string, options?: CGProfileListAllRevisionsOptionalParams) => PagedAsyncIterableIterator<ContainerGroupProfile, ContainerGroupProfile[], PageSettings>

update

Update a specified container group profile.

update: (resourceGroupName: string, containerGroupProfileName: string, properties: ContainerGroupProfilePatch, options?: CGProfileUpdateOptionalParams) => Promise<ContainerGroupProfile>

Property Value

(resourceGroupName: string, containerGroupProfileName: string, properties: ContainerGroupProfilePatch, options?: CGProfileUpdateOptionalParams) => Promise<ContainerGroupProfile>