DscCompilationJobCollection Class

Definition

A class representing a collection of DscCompilationJobResource and their operations. Each DscCompilationJobResource in the collection will belong to the same instance of AutomationAccountResource. To get a DscCompilationJobCollection instance call the GetDscCompilationJobs method from an instance of AutomationAccountResource.

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

Constructors

DscCompilationJobCollection()

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

Creates the Dsc compilation job of the configuration.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}
  • Operation Id: DscCompilationJob_Create
CreateOrUpdateAsync(WaitUntil, String, DscCompilationJobCreateOrUpdateContent, CancellationToken)

Creates the Dsc compilation job of the configuration.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}
  • Operation Id: DscCompilationJob_Create
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}
  • Operation Id: DscCompilationJob_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}
  • Operation Id: DscCompilationJob_Get
Get(String, CancellationToken)

Retrieve the Dsc configuration compilation job identified by job id.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}
  • Operation Id: DscCompilationJob_Get
GetAll(String, CancellationToken)

Retrieve a list of dsc compilation jobs.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs
  • Operation Id: DscCompilationJob_ListByAutomationAccount
GetAllAsync(String, CancellationToken)

Retrieve a list of dsc compilation jobs.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs
  • Operation Id: DscCompilationJob_ListByAutomationAccount
GetAsync(String, CancellationToken)

Retrieve the Dsc configuration compilation job identified by job id.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}
  • Operation Id: DscCompilationJob_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}
  • Operation Id: DscCompilationJob_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}
  • Operation Id: DscCompilationJob_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<DscCompilationJobResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DscCompilationJobResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to