Udostępnij za pośrednictwem


PartnerNamespaceCollection Class

Definition

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

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

Constructors

PartnerNamespaceCollection()

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

Asynchronously creates a new partner namespace with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}
  • Operation Id: PartnerNamespaces_CreateOrUpdate
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerNamespaceResource
CreateOrUpdateAsync(WaitUntil, String, PartnerNamespaceData, CancellationToken)

Asynchronously creates a new partner namespace with the specified parameters.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get properties of a partner namespace.

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

List all the partner namespaces under a resource group.

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

List all the partner namespaces under a resource group.

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

Get properties of a partner namespace.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PartnerNamespaceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to