OBJECT

AzureNativeSubscription

Description

An Azure Native Subscription. Refers to the logical entity that provides entitlement to deploy and consume Azure resources.

link GraphQL Schema definition

  • type AzureNativeSubscription implements PolarisHierarchyObject, HierarchyObject {
  • # Native ID of the subscription.
  • azureSubscriptionNativeId: String!
  • # Tenant ID associated with the subscription.
  • tenantId: String!
  • # Status of the subscription at a given time. Some examples are: added, deleted,
  • # refreshed. For more information, see
  • # https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/subscription-states.
  • azureSubscriptionStatus: AzureSubscriptionStatus!
  • # Last refresh time of the subscription, in UTC date-time format.
  • lastRefreshedAt: DateTime
  • # List of Azure region specifications associated with the subscription.
  • regionSpecs: [AzureNativeRegionSpec!]!
  • # Count of virtual machines (VMs) in the subscription.
  • vmsCount: Int!
  • # Count of managed disks in the subscription.
  • disksCount: Int!
  • # Count of Azure SQL databases in the subscription.
  • azureSqlDatabaseDbCount: Int!
  • # Count of Azure SQL Managed Instance databases in the subscription.
  • azureSqlManagedInstanceDbCount: Int!
  • # The number of Azure storage accounts in the subscription.
  • azureStorageAccountCount: Int!
  • # Type of Azure cloud, for example, Azure Public Cloud and Azure China Cloud.
  • azureCloudType: AzureCloudType!
  • # Details of features enabled for the subscription.
  • enabledFeatures: [AzureNativeSubscriptionEnabledFeature!]!
  • # A list of mappings between object types and details about the backup setup.
  • snappableTypeToBackupSetupSpecs: [WorkloadTypeToBackupSetupSpecs!]!
  • # Cloud account ID associated with the subscription.
  • accountConnectionId: String!
  • # The authorized operations on the object.
  • authorizedOperations: [PolarisObjectAuthorizedOperationsEnum!]!
  • # Paginated list of all Azure Resource Groups in the subscription.
  • #
  • # Arguments
  • # first: Returns the first n elements from the list.
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # last: Returns the last n elements from the list.
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # sortBy: Sort fields for listing Azure resource groups.
  • # sortOrder: Sorting order for the results.
  • # commonResourceGroupFilters: Filters for listing Azure resource
  • # groups.
  • azureNativeResourceGroups(
  • first: Int,
  • after: String,
  • last: Int,
  • before: String,
  • sortBy: AzureNativeCommonResourceGroupSortFields,
  • sortOrder: SortOrder,
  • commonResourceGroupFilters: AzureNativeCommonResourceGroupFilters
  • ): AzureNativeResourceGroupConnection!
  • # The FID of the hierarchy object.
  • id: UUID!
  • # The name of the hierarchy object.
  • name: String!
  • # The type of this object.
  • objectType: HierarchyObjectTypeEnum!
  • # The SLA Domain assignment type for this object.
  • slaAssignment: SlaAssignmentTypeEnum!
  • # The effective SLA Domain of the hierarchy object.
  • effectiveSlaDomain: SlaDomain!
  • # The pause status of the effective SLA Domain of the hierarchy object.
  • slaPauseStatus: Boolean!
  • # The distribution of the snapshots of the hierarchy object.
  • snapshotDistribution: SnapshotDistribution!
  • # The effective retention of the SLA Domain of the hierarchy object.
  • effectiveRetentionSlaDomain: SlaDomain
  • # The SLA Domain configured for the hierarchy object.
  • configuredSlaDomain: SlaDomain!
  • # The path node of the effective SLA Domain source.
  • effectiveSlaSourceObject: PathNode
  • # A sequential list of this object's logical ancestors.
  • logicalPath: [PathNode!]!
  • # A sequential list of this object's physical ancestors.
  • physicalPath: [PathNode!]!
  • # The number of descendant workloads of this object.
  • numWorkloadDescendants: Int!
  • # The organizations to which this hierarchy object belongs.
  • allOrgs: [Org!]!
  • }