ConfluentExtensions.GetConfluentOrganizations Method

Definition

Overloads

GetConfluentOrganizations(ResourceGroupResource)

Gets a collection of ConfluentOrganizationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetConfluentOrganizations() instead.

GetConfluentOrganizations(SubscriptionResource, CancellationToken)

List all organizations under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Confluent/organizations
  • Operation Id: Organization_ListBySubscription
  • Default Api Version: 2024-02-13
  • Resource: ConfluentOrganizationResource

GetConfluentOrganizations(ResourceGroupResource)

Source:
ConfluentExtensions.cs
Source:
ConfluentExtensions.cs

Gets a collection of ConfluentOrganizationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetConfluentOrganizations() instead.

C#
public static Azure.ResourceManager.Confluent.ConfluentOrganizationCollection GetConfluentOrganizations(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ConfluentOrganizationResources and their operations over a ConfluentOrganizationResource.

Exceptions

resourceGroupResource is null.

Applies to

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview

GetConfluentOrganizations(SubscriptionResource, CancellationToken)

Source:
ConfluentExtensions.cs
Source:
ConfluentExtensions.cs

List all organizations under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Confluent/organizations
  • Operation Id: Organization_ListBySubscription
  • Default Api Version: 2024-02-13
  • Resource: ConfluentOrganizationResource
C#
public static Azure.Pageable<Azure.ResourceManager.Confluent.ConfluentOrganizationResource> GetConfluentOrganizations(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ConfluentOrganizationResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview