Share via


PartnerRegistrationCollection Class

Definition

A class representing a collection of PartnerRegistrationResource and their operations. Each PartnerRegistrationResource in the collection will belong to the same instance of ResourceGroupResource. To get a PartnerRegistrationCollection instance call the GetPartnerRegistrations method from an instance of ResourceGroupResource.

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

Constructors

PartnerRegistrationCollection()

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

Creates a new partner registration with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}
  • Operation Id: PartnerRegistrations_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerRegistrationResource
CreateOrUpdateAsync(WaitUntil, String, PartnerRegistrationData, CancellationToken)

Creates a new partner registration with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}
  • Operation Id: PartnerRegistrations_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerRegistrationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}
  • Operation Id: PartnerRegistrations_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerRegistrationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}
  • Operation Id: PartnerRegistrations_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerRegistrationResource
Get(String, CancellationToken)

Gets a partner registration with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}
  • Operation Id: PartnerRegistrations_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerRegistrationResource
GetAll(String, Nullable<Int32>, CancellationToken)

List all the partner registrations under a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations
  • Operation Id: PartnerRegistrations_ListByResourceGroup
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerRegistrationResource
GetAllAsync(String, Nullable<Int32>, CancellationToken)

List all the partner registrations under a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations
  • Operation Id: PartnerRegistrations_ListByResourceGroup
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerRegistrationResource
GetAsync(String, CancellationToken)

Gets a partner registration with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}
  • Operation Id: PartnerRegistrations_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerRegistrationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}
  • Operation Id: PartnerRegistrations_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerRegistrationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}
  • Operation Id: PartnerRegistrations_Get
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerRegistrationResource
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<PartnerRegistrationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PartnerRegistrationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to