Condividi tramite


DeploymentStackCollection Class

Definition

A class representing a collection of DeploymentStackResource and their operations. Each DeploymentStackResource in the collection will belong to the same instance of SubscriptionResource, ResourceGroupResource or ManagementGroupResource. To get a DeploymentStackCollection instance call the GetDeploymentStacks method from an instance of SubscriptionResource, ResourceGroupResource or ManagementGroupResource.

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

Constructors

DeploymentStackCollection()

Initializes a new instance of the DeploymentStackCollection 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

CreateOrUpdate(WaitUntil, String, DeploymentStackData, CancellationToken)

Creates or updates a Deployment stack at specific scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_CreateOrUpdateAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
CreateOrUpdateAsync(WaitUntil, String, DeploymentStackData, CancellationToken)

Creates or updates a Deployment stack at specific scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_CreateOrUpdateAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
Get(String, CancellationToken)

Gets a Deployment stack with a given name at specific scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
GetAll(CancellationToken)

Lists all the Deployment stacks within the specified scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks
  • Operation Id: DeploymentStacks_ListAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
GetAllAsync(CancellationToken)

Lists all the Deployment stacks within the specified scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks
  • Operation Id: DeploymentStacks_ListAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
GetAsync(String, CancellationToken)

Gets a Deployment stack with a given name at specific scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
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<DeploymentStackResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DeploymentStackResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to