Microsoft Azure Stack Azure Bridge Client

Microsoft Azure Stack Azure Bridge Client is a tool designed to connect on-premises data centers to the Azure public cloud. It acts as a bridge between the two environments, allowing organizations to seamlessly extend their infrastructure and services to the cloud. The Azure Bridge Client enables easy access to Azure resources, simplifies hybrid cloud management, and provides a unified platform for deploying, managing, and monitoring applications across both on-premises and cloud environments.

OpenAPI Specification

azure-stack-azure-bridge-client-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  version: 2020-06-01-preview
  title: Microsoft Azure Azure Stack Azure Bridge Client
host: management.azure.com
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json
paths:
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations:
    get:
      x-ms-examples:
        Returns a list of all registrations.:
          $ref: examples/Registration/List.json
      tags:
        - Registrations
      description: Returns a list of all registrations.
      operationId: microsoftAzureRegistrationsList
      parameters:
        - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
        - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
        - $ref: AzureStack.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/RegistrationList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: AzureStack.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      summary: >-
        Get Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers
        Microsoft Azurestack Registrations
  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStack/registrations:
    get:
      x-ms-examples:
        Returns a list of all registrations under current subscription.:
          $ref: examples/Registration/ListBySubscription.json
      tags:
        - Registrations
      description: Returns a list of all registrations under current subscription.
      operationId: microsoftAzureRegistrationsListbysubscription
      parameters:
        - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
        - $ref: AzureStack.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/RegistrationList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: AzureStack.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      summary: >-
        Get Subscriptions Subscriptionid Providers Microsoft Azurestack
        Registrations
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}
  : get:
      x-ms-examples:
        Returns the properties of an Azure Stack registration.:
          $ref: examples/Registration/Get.json
      tags:
        - Registrations
      description: Returns the properties of an Azure Stack registration.
      operationId: microsoftAzureRegistrationsGet
      parameters:
        - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
        - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
        - $ref: AzureStack.json#/parameters/RegistrationNameParameter
        - $ref: AzureStack.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Registration'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: AzureStack.json#/definitions/ErrorResponse
      summary: >-
        Get Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers
        Microsoft Azurestack Registrations Registrationname
    delete:
      x-ms-examples:
        Delete the requested Azure Stack registration.:
          $ref: ./examples/Registration/Delete.json
      tags:
        - Registrations
      description: Delete the requested Azure Stack registration.
      operationId: microsoftAzureRegistrationsDelete
      parameters:
        - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
        - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
        - $ref: AzureStack.json#/parameters/RegistrationNameParameter
        - $ref: AzureStack.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
        '204':
          description: NO CONTENT
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: AzureStack.json#/definitions/ErrorResponse
      summary: >-
        Delete Subscriptions Subscriptionid Resourcegroups Resourcegroup
        Providers Microsoft Azurestack Registrations Registrationname
    put:
      x-ms-examples:
        Create or update an Azure Stack registration.:
          $ref: examples/Registration/Put.json
      tags:
        - Registrations
      description: Create or update an Azure Stack registration.
      operationId: microsoftAzureRegistrationsCreateorupdate
      parameters:
        - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
        - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
        - $ref: AzureStack.json#/parameters/RegistrationNameParameter
        - $ref: AzureStack.json#/parameters/ApiVersionParameter
        - $ref: '#/parameters/NewRegistrationParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Registration'
        '201':
          description: CREATED
          schema:
            $ref: '#/definitions/Registration'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: AzureStack.json#/definitions/ErrorResponse
      summary: >-
        Put Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers
        Microsoft Azurestack Registrations Registrationname
    patch:
      x-ms-examples:
        Patch an Azure Stack registration.:
          $ref: examples/Registration/Patch.json
      tags:
        - Registrations
      description: Patch an Azure Stack registration.
      operationId: microsoftAzureRegistrationsUpdate
      parameters:
        - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
        - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
        - $ref: AzureStack.json#/parameters/RegistrationNameParameter
        - $ref: AzureStack.json#/parameters/ApiVersionParameter
        - $ref: '#/parameters/NewRegistrationParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Registration'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: AzureStack.json#/definitions/ErrorResponse
      summary: >-
        Patch Subscriptions Subscriptionid Resourcegroups Resourcegroup
        Providers Microsoft Azurestack Registrations Registrationname
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey
  : post:
      x-ms-examples:
        Returns Azure Stack Activation Key.:
          $ref: ./examples/Registration/Post.json
      tags:
        - Registrations
      description: Returns Azure Stack Activation Key.
      operationId: microsoftAzureRegistrationsGetactivationkey
      parameters:
        - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
        - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
        - $ref: AzureStack.json#/parameters/RegistrationNameParameter
        - $ref: AzureStack.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ActivationKeyResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: AzureStack.json#/definitions/ErrorResponse
      summary: >-
        Post Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers
        Microsoft Azurestack Registrations Registrationname Getactivationkey
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/enableRemoteManagement
  : post:
      x-ms-examples:
        Returns empty response for successful action..:
          $ref: examples/RemoteManagement/Post.json
      tags:
        - Registrations
      description: Enables remote management for device under the Azure Stack registration.
      operationId: microsoftAzureRegistrationsEnableremotemanagement
      parameters:
        - $ref: AzureStack.json#/parameters/SubscriptionIdParameter
        - $ref: AzureStack.json#/parameters/ResourceGroupNameParameter
        - $ref: AzureStack.json#/parameters/RegistrationNameParameter
      responses:
        '200':
          description: OK
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: AzureStack.json#/definitions/ErrorResponse
      summary: >-
        Post Subscriptions Subscriptionid Resourcegroups Resourcegroup Providers
        Microsoft Azurestack Registrations Registrationname
        Enableremotemanagement
definitions:
  Registration:
    description: Registration information.
    type: object
    properties:
      properties:
        description: Registration resource.
        x-ms-client-flatten: true
        $ref: '#/definitions/RegistrationProperties'
    allOf:
      - $ref: AzureStack.json#/definitions/TrackedResource
  RegistrationProperties:
    description: Properties portion of the registration resource.
    type: object
    properties:
      objectId:
        description: >-
          The object identifier associated with the Azure Stack connecting to
          Azure.
        type: string
      cloudId:
        description: The identifier of the registered Azure Stack.
        type: string
      billingModel:
        description: Specifies the billing mode for the Azure Stack registration.
        type: string
  RegistrationList:
    description: Pageable list of registrations.
    type: object
    properties:
      nextLink:
        description: URI to the next page.
        type: string
      value:
        description: List of Registrations
        type: array
        items:
          $ref: '#/definitions/Registration'
  ActivationKeyResult:
    description: The resource containing the Azure Stack activation key.
    type: object
    properties:
      activationKey:
        description: Azure Stack activation key.
        type: string
  RegistrationParameter:
    description: Registration resource
    type: object
    properties:
      properties:
        description: Properties of the Azure Stack registration resource
        x-ms-client-flatten: true
        $ref: '#/definitions/RegistrationParameterProperties'
      location:
        description: Location of the resource.
        type: string
        enum:
          - global
        x-ms-enum:
          name: Location
          modelAsString: true
        x-ms-mutability:
          - create
          - read
    required:
      - properties
      - location
  RegistrationParameterProperties:
    description: Properties of the Azure Stack registration resource
    type: object
    properties:
      registrationToken:
        description: The token identifying registered Azure Stack
        type: string
    required:
      - registrationToken
parameters:
  NewRegistrationParameter:
    description: Registration token
    name: token
    in: body
    schema:
      $ref: '#/definitions/RegistrationParameter'
    required: true
    x-ms-parameter-location: method
securityDefinitions:
  azure_auth:
    type: oauth2
    authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
    flow: implicit
    description: Authorization uses an Azure Active Directory OAuth2 flow.
    scopes:
      user_impersonation: impersonate your user account
security:
  - azure_auth:
      - user_impersonation
tags:
  - name: Registrations