AstroOrganizationCollection Class

Definition

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

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

Constructors

AstroOrganizationCollection()

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

Create a OrganizationResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations/{organizationName}
  • Operation Id: Organizations_CreateOrUpdate
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource
CreateOrUpdateAsync(WaitUntil, String, AstroOrganizationData, CancellationToken)

Create a OrganizationResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations/{organizationName}
  • Operation Id: Organizations_CreateOrUpdate
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations/{organizationName}
  • Operation Id: Organizations_Get
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations/{organizationName}
  • Operation Id: Organizations_Get
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource
Get(String, CancellationToken)

Get a OrganizationResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations/{organizationName}
  • Operation Id: Organizations_Get
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource
GetAll(CancellationToken)

List OrganizationResource resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations
  • Operation Id: Organizations_ListByResourceGroup
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource
GetAllAsync(CancellationToken)

List OrganizationResource resources by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations
  • Operation Id: Organizations_ListByResourceGroup
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource
GetAsync(String, CancellationToken)

Get a OrganizationResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations/{organizationName}
  • Operation Id: Organizations_Get
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations/{organizationName}
  • Operation Id: Organizations_Get
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Astronomer.Astro/organizations/{organizationName}
  • Operation Id: Organizations_Get
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource
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<AstroOrganizationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AstroOrganizationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to