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
| Name | Description |
|---|---|
| GetConfluentOrganizations(ResourceGroupResource) |
Gets a collection of ConfluentOrganizations in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetConfluentOrganizations() instead. </item> |
| GetConfluentOrganizations(SubscriptionResource, CancellationToken) |
List all organizations under the specified subscription. <item> Mocking. To mock this method, please mock GetConfluentOrganizations(CancellationToken) instead. </item> |
GetConfluentOrganizations(ResourceGroupResource)
- Source:
- ConfluentExtensions.cs
- Source:
- ConfluentExtensions.cs
Gets a collection of ConfluentOrganizations in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetConfluentOrganizations() instead. </item>
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 the method will execute against.
Returns
An object representing collection of ConfluentOrganizations 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. <item> Mocking. To mock this method, please mock GetConfluentOrganizations(CancellationToken) instead. </item>
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 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.