ConfluentExtensions.GetConfluentOrganizations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
|
GetConfluentOrganizations(ResourceGroupResource)
- Source:
- ConfluentExtensions.cs
- Source:
- ConfluentExtensions.cs
Gets a collection of ConfluentOrganizationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetConfluentOrganizations() instead.
public static Azure.ResourceManager.Confluent.ConfluentOrganizationCollection GetConfluentOrganizations (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetConfluentOrganizations : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Confluent.ConfluentOrganizationCollection
<Extension()>
Public Function GetConfluentOrganizations (resourceGroupResource As ResourceGroupResource) As ConfluentOrganizationCollection
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
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
public static Azure.Pageable<Azure.ResourceManager.Confluent.ConfluentOrganizationResource> GetConfluentOrganizations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetConfluentOrganizations : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Confluent.ConfluentOrganizationResource>
<Extension()>
Public Function GetConfluentOrganizations (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ConfluentOrganizationResource)
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