MaintenancePublicConfigurationCollection Class

Definition

A class representing a collection of MaintenancePublicConfigurationResource and their operations. Each MaintenancePublicConfigurationResource in the collection will belong to the same instance of SubscriptionResource. To get a MaintenancePublicConfigurationCollection instance call the GetMaintenancePublicConfigurations method from an instance of SubscriptionResource.

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

Constructors

MaintenancePublicConfigurationCollection()

Initializes a new instance of the MaintenancePublicConfigurationCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/{resourceName}
  • Operation Id: PublicMaintenanceConfigurations_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenancePublicConfigurationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/{resourceName}
  • Operation Id: PublicMaintenanceConfigurations_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenancePublicConfigurationResource
Get(String, CancellationToken)

Get Public Maintenance Configuration record

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/{resourceName}
  • Operation Id: PublicMaintenanceConfigurations_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenancePublicConfigurationResource
GetAll(CancellationToken)

Get Public Maintenance Configuration records

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations
  • Operation Id: PublicMaintenanceConfigurations_List
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenancePublicConfigurationResource
GetAllAsync(CancellationToken)

Get Public Maintenance Configuration records

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations
  • Operation Id: PublicMaintenanceConfigurations_List
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenancePublicConfigurationResource
GetAsync(String, CancellationToken)

Get Public Maintenance Configuration record

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/{resourceName}
  • Operation Id: PublicMaintenanceConfigurations_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenancePublicConfigurationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/{resourceName}
  • Operation Id: PublicMaintenanceConfigurations_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenancePublicConfigurationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/{resourceName}
  • Operation Id: PublicMaintenanceConfigurations_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: MaintenancePublicConfigurationResource
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<MaintenancePublicConfigurationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MaintenancePublicConfigurationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to