ProviderRegistrationCollection Class

Definition

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

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

Constructors

ProviderRegistrationCollection()

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

Creates or updates the provider registration.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}
  • Operation Id: ProviderRegistrations_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, ProviderRegistrationData, CancellationToken)

Creates or updates the provider registration.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}
  • Operation Id: ProviderRegistrations_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}
  • Operation Id: ProviderRegistrations_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}
  • Operation Id: ProviderRegistrations_Get
Get(String, CancellationToken)

Gets the provider registration details.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}
  • Operation Id: ProviderRegistrations_Get
GetAll(CancellationToken)

Gets the list of the provider registrations in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations
  • Operation Id: ProviderRegistrations_List
GetAllAsync(CancellationToken)

Gets the list of the provider registrations in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations
  • Operation Id: ProviderRegistrations_List
GetAsync(String, CancellationToken)

Gets the provider registration details.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}
  • Operation Id: ProviderRegistrations_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}
  • Operation Id: ProviderRegistrations_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerRegistrations/{providerNamespace}
  • Operation Id: ProviderRegistrations_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<ProviderRegistrationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ProviderRegistrationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to