共用方式為


SoftwareUpdateConfigurationCollection Class

Definition

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

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

Constructors

SoftwareUpdateConfigurationCollection()

Initializes a new instance of the SoftwareUpdateConfigurationCollection 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, SoftwareUpdateConfigurationData, String, CancellationToken)

Create a new software update configuration with the name given in the URI.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations/{softwareUpdateConfigurationName}
  • Operation Id: SoftwareUpdateConfigurations_Create
CreateOrUpdateAsync(WaitUntil, String, SoftwareUpdateConfigurationData, String, CancellationToken)

Create a new software update configuration with the name given in the URI.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get a single software update configuration by name.

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

Get all software update configurations for the account.

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

Get all software update configurations for the account.

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

Get a single software update configuration by name.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations/{softwareUpdateConfigurationName}
  • Operation Id: SoftwareUpdateConfigurations_GetByName
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<SoftwareUpdateConfigurationCollectionItem>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SoftwareUpdateConfigurationCollectionItem>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to