共用方式為


ScriptExecutionCollection Class

Definition

A class representing a collection of ScriptExecutionResource and their operations. Each ScriptExecutionResource in the collection will belong to the same instance of AvsPrivateCloudResource. To get a ScriptExecutionCollection instance call the GetScriptExecutions method from an instance of AvsPrivateCloudResource.

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

Constructors

ScriptExecutionCollection()

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

Create a ScriptExecution

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}
  • Operation Id: ScriptExecutions_CreateOrUpdate
  • Default Api Version: 2023-09-01
  • Resource: ScriptExecutionResource
CreateOrUpdateAsync(WaitUntil, String, ScriptExecutionData, CancellationToken)

Create a ScriptExecution

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}
  • Operation Id: ScriptExecutions_CreateOrUpdate
  • Default Api Version: 2023-09-01
  • Resource: ScriptExecutionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}
  • Operation Id: ScriptExecutions_Get
  • Default Api Version: 2023-09-01
  • Resource: ScriptExecutionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}
  • Operation Id: ScriptExecutions_Get
  • Default Api Version: 2023-09-01
  • Resource: ScriptExecutionResource
Get(String, CancellationToken)

Get a ScriptExecution

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}
  • Operation Id: ScriptExecutions_Get
  • Default Api Version: 2023-09-01
  • Resource: ScriptExecutionResource
GetAll(CancellationToken)

List ScriptExecution resources by PrivateCloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions
  • Operation Id: ScriptExecutions_List
  • Default Api Version: 2023-09-01
  • Resource: ScriptExecutionResource
GetAllAsync(CancellationToken)

List ScriptExecution resources by PrivateCloud

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions
  • Operation Id: ScriptExecutions_List
  • Default Api Version: 2023-09-01
  • Resource: ScriptExecutionResource
GetAsync(String, CancellationToken)

Get a ScriptExecution

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}
  • Operation Id: ScriptExecutions_Get
  • Default Api Version: 2023-09-01
  • Resource: ScriptExecutionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}
  • Operation Id: ScriptExecutions_Get
  • Default Api Version: 2023-09-01
  • Resource: ScriptExecutionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}
  • Operation Id: ScriptExecutions_Get
  • Default Api Version: 2023-09-01
  • Resource: ScriptExecutionResource
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<ScriptExecutionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ScriptExecutionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to