openapi: 3.0.3 info: title: Microsoft Azure Management API description: >- Core Microsoft Azure Resource Manager REST API for subscription, resource group, and resource management across all Azure services. version: '2022-09-01' x-generated-from: documentation servers: - url: https://management.azure.com description: Azure Resource Manager security: - azure_auth: - user_impersonation tags: - name: Subscriptions description: Manage Azure subscriptions - name: Resource Groups description: Manage Azure resource groups - name: Resources description: Manage Azure resources - name: Providers description: Manage Azure resource providers paths: /subscriptions: get: operationId: Subscriptions_List summary: Microsoft Azure Azure Management List Subscriptions description: Gets all subscriptions for a tenant. tags: - Subscriptions parameters: - name: api-version in: query required: true schema: type: string example: '2022-09-01' responses: '200': description: List of subscriptions content: application/json: schema: $ref: '#/components/schemas/SubscriptionListResult' examples: Subscriptions_List200Example: summary: Default Subscriptions_List 200 response x-microcks-default: true value: id: example-id name: example provisioningState: Succeeded x-microcks-operation: delay: 0 dispatcher: FALLBACK /subscriptions/{subscriptionId}: get: operationId: Subscriptions_Get summary: Microsoft Azure Azure Management Get Subscription Details description: Gets details about a specified subscription. tags: - Subscriptions parameters: - name: subscriptionId in: path required: true schema: type: string example: '00000000-0000-0000-0000-000000000000' - name: api-version in: query required: true schema: type: string example: '2022-09-01' responses: '200': description: Subscription details content: application/json: schema: $ref: '#/components/schemas/Subscription' examples: Subscriptions_Get200Example: summary: Default Subscriptions_Get 200 response x-microcks-default: true value: id: example-id name: example provisioningState: Succeeded x-microcks-operation: delay: 0 dispatcher: FALLBACK /subscriptions/{subscriptionId}/resourceGroups: get: operationId: ResourceGroups_List summary: Microsoft Azure Azure Management List Resource Groups description: Gets all the resource groups for a subscription. tags: - Resource Groups parameters: - name: subscriptionId in: path required: true schema: type: string example: '00000000-0000-0000-0000-000000000000' - name: api-version in: query required: true schema: type: string example: '2022-09-01' responses: '200': description: List of resource groups content: application/json: schema: $ref: '#/components/schemas/ResourceGroupListResult' examples: ResourceGroups_List200Example: summary: Default ResourceGroups_List 200 response x-microcks-default: true value: id: example-id name: example provisioningState: Succeeded x-microcks-operation: delay: 0 dispatcher: FALLBACK post: operationId: ResourceGroups_CreateOrUpdate summary: Microsoft Azure Azure Management Create or Update Resource Group description: Creates or updates a resource group. tags: - Resource Groups parameters: - name: subscriptionId in: path required: true schema: type: string example: '00000000-0000-0000-0000-000000000000' - name: resourceGroupName in: query required: true schema: type: string example: 'my-resource-group' - name: api-version in: query required: true schema: type: string example: '2022-09-01' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ResourceGroup' responses: '200': description: Resource group updated content: application/json: schema: $ref: '#/components/schemas/ResourceGroup' examples: ResourceGroups_CreateOrUpdate200Example: summary: Default ResourceGroups_CreateOrUpdate 200 response x-microcks-default: true value: id: example-id name: example provisioningState: Succeeded '201': description: Resource group created content: application/json: schema: $ref: '#/components/schemas/ResourceGroup' examples: ResourceGroups_CreateOrUpdate201Example: summary: Default ResourceGroups_CreateOrUpdate 201 response x-microcks-default: true value: id: example-id name: example provisioningState: Succeeded x-microcks-operation: delay: 0 dispatcher: FALLBACK /subscriptions/{subscriptionId}/resources: get: operationId: Resources_ListBySubscription summary: Microsoft Azure Azure Management List Resources by Subscription description: Get all the resources in a subscription. tags: - Resources parameters: - name: subscriptionId in: path required: true schema: type: string example: '00000000-0000-0000-0000-000000000000' - name: api-version in: query required: true schema: type: string example: '2022-09-01' responses: '200': description: List of resources content: application/json: schema: $ref: '#/components/schemas/ResourceListResult' examples: Resources_ListBySubscription200Example: summary: Default Resources_ListBySubscription 200 response x-microcks-default: true value: id: example-id name: example provisioningState: Succeeded x-microcks-operation: delay: 0 dispatcher: FALLBACK components: securitySchemes: azure_auth: type: oauth2 flows: implicit: authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize scopes: user_impersonation: Impersonate your user account schemas: Subscription: type: object description: Subscription information. properties: id: type: string readOnly: true subscriptionId: type: string readOnly: true displayName: type: string state: type: string enum: - Enabled - Disabled - Deleted - PastDue - Warned subscriptionPolicies: type: object properties: locationPlacementId: type: string quotaId: type: string spendingLimit: type: string enum: - On - Off - CurrentPeriodOff authorizationSource: type: string managedByTenants: type: array items: type: object properties: tenantId: type: string SubscriptionListResult: type: object properties: value: type: array items: $ref: '#/components/schemas/Subscription' nextLink: type: string ResourceGroup: type: object description: Resource group information. properties: id: type: string readOnly: true name: type: string type: type: string readOnly: true location: type: string tags: type: object additionalProperties: type: string properties: type: object properties: provisioningState: type: string readOnly: true ResourceGroupListResult: type: object properties: value: type: array items: $ref: '#/components/schemas/ResourceGroup' nextLink: type: string GenericResource: type: object description: Resource information. properties: id: type: string readOnly: true name: type: string type: type: string location: type: string tags: type: object additionalProperties: type: string kind: type: string managedBy: type: string sku: type: object properties: name: type: string tier: type: string capacity: type: integer ResourceListResult: type: object properties: value: type: array items: $ref: '#/components/schemas/GenericResource' nextLink: type: string