ArmDeploymentScriptCollection Class

Definition

A class representing a collection of ArmDeploymentScriptResource and their operations. Each ArmDeploymentScriptResource in the collection will belong to the same instance of ResourceGroupResource. To get an ArmDeploymentScriptCollection instance call the GetArmDeploymentScripts method from an instance of ResourceGroupResource.

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

Constructors

ArmDeploymentScriptCollection()

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

Creates a deployment script.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • Operation Id: DeploymentScripts_Create
  • Default Api Version: 2020-10-01
  • Resource: ArmDeploymentScriptResource
CreateOrUpdateAsync(WaitUntil, String, ArmDeploymentScriptData, CancellationToken)

Creates a deployment script.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • Operation Id: DeploymentScripts_Create
  • Default Api Version: 2020-10-01
  • Resource: ArmDeploymentScriptResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • Operation Id: DeploymentScripts_Get
  • Default Api Version: 2020-10-01
  • Resource: ArmDeploymentScriptResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • Operation Id: DeploymentScripts_Get
  • Default Api Version: 2020-10-01
  • Resource: ArmDeploymentScriptResource
Get(String, CancellationToken)

Gets a deployment script with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • Operation Id: DeploymentScripts_Get
  • Default Api Version: 2020-10-01
  • Resource: ArmDeploymentScriptResource
GetAll(CancellationToken)

Lists deployments scripts.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts
  • Operation Id: DeploymentScripts_ListByResourceGroup
  • Default Api Version: 2020-10-01
  • Resource: ArmDeploymentScriptResource
GetAllAsync(CancellationToken)

Lists deployments scripts.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts
  • Operation Id: DeploymentScripts_ListByResourceGroup
  • Default Api Version: 2020-10-01
  • Resource: ArmDeploymentScriptResource
GetAsync(String, CancellationToken)

Gets a deployment script with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • Operation Id: DeploymentScripts_Get
  • Default Api Version: 2020-10-01
  • Resource: ArmDeploymentScriptResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • Operation Id: DeploymentScripts_Get
  • Default Api Version: 2020-10-01
  • Resource: ArmDeploymentScriptResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • Operation Id: DeploymentScripts_Get
  • Default Api Version: 2020-10-01
  • Resource: ArmDeploymentScriptResource
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<ArmDeploymentScriptResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ArmDeploymentScriptResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to