共用方式為


ResourceTypeRegistrationCollection Class

Definition

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

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

Constructors

ResourceTypeRegistrationCollection()

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

Creates or updates a resource type.

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

Creates or updates a resource type.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets a resource type details in the given subscription and provider.

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

Gets the list of the resource types for the given provider.

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

Gets the list of the resource types for the given provider.

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

Gets a resource type details in the given subscription and provider.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ResourceTypeRegistrationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to