Partilhar via


AstroExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Astro.

public static class AstroExtensions
type AstroExtensions = class
Public Module AstroExtensions
Inheritance
AstroExtensions

Methods

GetAstroOrganization(ResourceGroupResource, 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
GetAstroOrganizationAsync(ResourceGroupResource, 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
GetAstroOrganizationResource(ArmClient, ResourceIdentifier)

Gets an object representing an AstroOrganizationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an AstroOrganizationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAstroOrganizationResource(ResourceIdentifier) instead.

GetAstroOrganizations(ResourceGroupResource)

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

GetAstroOrganizations(SubscriptionResource, CancellationToken)

List OrganizationResource resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Astronomer.Astro/organizations
  • Operation Id: Organizations_ListBySubscription
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource
GetAstroOrganizationsAsync(SubscriptionResource, CancellationToken)

List OrganizationResource resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Astronomer.Astro/organizations
  • Operation Id: Organizations_ListBySubscription
  • Default Api Version: 2023-08-01
  • Resource: AstroOrganizationResource

Applies to