PartnerNamespaceChannelCollection Class

Definition

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

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

Constructors

PartnerNamespaceChannelCollection()

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

Synchronously creates or updates a new channel with the specified parameters.

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

Synchronously creates or updates a new channel with the specified parameters.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get properties of a channel.

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

List all the channels in a partner namespace.

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

List all the channels in a partner namespace.

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

Get properties of a channel.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PartnerNamespaceChannelResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to