ProviderShareSubscriptionCollection Class

Definition

A class representing a collection of ProviderShareSubscriptionResource and their operations. Each ProviderShareSubscriptionResource in the collection will belong to the same instance of DataShareResource. To get a ProviderShareSubscriptionCollection instance call the GetProviderShareSubscriptions method from an instance of DataShareResource.

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

Constructors

ProviderShareSubscriptionCollection()

Initializes a new instance of the ProviderShareSubscriptionCollection 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}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}
  • Operation Id: ProviderShareSubscriptions_GetByShare
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}
  • Operation Id: ProviderShareSubscriptions_GetByShare
Get(String, CancellationToken)

Get share subscription in a provider share

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}
  • Operation Id: ProviderShareSubscriptions_GetByShare
GetAll(String, CancellationToken)

List share subscriptions in a provider share

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions
  • Operation Id: ProviderShareSubscriptions_ListByShare
GetAllAsync(String, CancellationToken)

List share subscriptions in a provider share

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions
  • Operation Id: ProviderShareSubscriptions_ListByShare
GetAsync(String, CancellationToken)

Get share subscription in a provider share

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}
  • Operation Id: ProviderShareSubscriptions_GetByShare
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}
  • Operation Id: ProviderShareSubscriptions_GetByShare
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}
  • Operation Id: ProviderShareSubscriptions_GetByShare
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<ProviderShareSubscriptionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ProviderShareSubscriptionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to