Delen via


ContainerGroupProfileRevisionCollection Class

Definition

A class representing a collection of ContainerGroupProfileRevisionResource and their operations. Each ContainerGroupProfileRevisionResource in the collection will belong to the same instance of ContainerGroupProfileResource. To get a ContainerGroupProfileRevisionCollection instance call the GetContainerGroupProfileRevisions method from an instance of ContainerGroupProfileResource.

public class ContainerGroupProfileRevisionCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ContainerInstance.ContainerGroupProfileRevisionResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.ContainerGroupProfileRevisionResource>
type ContainerGroupProfileRevisionCollection = class
    inherit ArmCollection
    interface seq<ContainerGroupProfileRevisionResource>
    interface IEnumerable
    interface IAsyncEnumerable<ContainerGroupProfileRevisionResource>
Public Class ContainerGroupProfileRevisionCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ContainerGroupProfileRevisionResource), IEnumerable(Of ContainerGroupProfileRevisionResource)
Inheritance
ContainerGroupProfileRevisionCollection
Implements

Constructors

ContainerGroupProfileRevisionCollection()

Initializes a new instance of the ContainerGroupProfileRevisionCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}
  • Operation Id: ContainerGroupProfile_GetByRevisionNumber
  • Default Api Version: 2024-05-01-preview
  • Resource: ContainerGroupProfileRevisionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}
  • Operation Id: ContainerGroupProfile_GetByRevisionNumber
  • Default Api Version: 2024-05-01-preview
  • Resource: ContainerGroupProfileRevisionResource
Get(String, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}
  • Operation Id: ContainerGroupProfile_GetByRevisionNumber
  • Default Api Version: 2024-05-01-preview
  • Resource: ContainerGroupProfileRevisionResource
GetAll(CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions
  • Operation Id: ContainerGroupProfile_ListAllRevisions
  • Default Api Version: 2024-05-01-preview
  • Resource: ContainerGroupProfileRevisionResource
GetAllAsync(CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions
  • Operation Id: ContainerGroupProfile_ListAllRevisions
  • Default Api Version: 2024-05-01-preview
  • Resource: ContainerGroupProfileRevisionResource
GetAsync(String, CancellationToken)

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.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}
  • Operation Id: ContainerGroupProfile_GetByRevisionNumber
  • Default Api Version: 2024-05-01-preview
  • Resource: ContainerGroupProfileRevisionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}
  • Operation Id: ContainerGroupProfile_GetByRevisionNumber
  • Default Api Version: 2024-05-01-preview
  • Resource: ContainerGroupProfileRevisionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}
  • Operation Id: ContainerGroupProfile_GetByRevisionNumber
  • Default Api Version: 2024-05-01-preview
  • Resource: ContainerGroupProfileRevisionResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ContainerGroupProfileRevisionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ContainerGroupProfileRevisionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to