Dela via


BlueprintArtifactCollection Class

Definition

A class representing a collection of BlueprintArtifactResource and their operations. Each BlueprintArtifactResource in the collection will belong to the same instance of BlueprintResource. To get a BlueprintArtifactCollection instance call the GetBlueprintArtifacts method from an instance of BlueprintResource.

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

Constructors

BlueprintArtifactCollection()

Initializes a new instance of the BlueprintArtifactCollection 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, ArtifactData, CancellationToken)

Create or update blueprint artifact.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}
  • Operation Id: Artifacts_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, ArtifactData, CancellationToken)

Create or update blueprint artifact.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}
  • Operation Id: Artifacts_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}
  • Operation Id: Artifacts_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}
  • Operation Id: Artifacts_Get
Get(String, CancellationToken)

Get a blueprint artifact.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}
  • Operation Id: Artifacts_Get
GetAll(CancellationToken)

List artifacts for a given blueprint definition.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts
  • Operation Id: Artifacts_List
GetAllAsync(CancellationToken)

List artifacts for a given blueprint definition.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts
  • Operation Id: Artifacts_List
GetAsync(String, CancellationToken)

Get a blueprint artifact.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}
  • Operation Id: Artifacts_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}
  • Operation Id: Artifacts_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}
  • Operation Id: Artifacts_Get
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<BlueprintArtifactResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BlueprintArtifactResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to