Microsoft Azure Network Cloud

Microsoft Azure Network Cloud is a cloud computing service that provides a range of networking solutions for businesses. It allows users to create and manage virtual networks, connect their on-premises networks to the cloud, and securely transfer data between different cloud services. Azure Network Cloud also offers advanced networking features such as load balancing, traffic management, and application security to ensure optimal performance and reliability for applications running in the cloud.

OpenAPI Specification

networkcloud-openapi-original.yml Raw ↑
consumes:
  - application/json
produces:
  - application/json
schemes:
  - https
swagger: '2.0'
info:
  description: >-
    The Network Cloud APIs provide management of the on-premises clusters and
    their resources, such as, racks, bare metal hosts, virtual machines,
    workload networks and more.
  title: Microsoft Azure NetworkCloud
  version: 2023-10-01-preview
host: management.azure.com
paths:
  /providers/Microsoft.NetworkCloud/operations:
    get:
      description: >-
        Get a list of all available resource provider operations. It contains a
        URL link to get the next set of results.
      summary: 'Microsoft Azure List Resource Provider Operations'
      operationId: microsoftAzureOperationsList
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List resource provider operations:
          $ref: ./examples/Operations_List.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Providers
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/bareMetalMachines:
    get:
      description: Get a list of bare metal machines in the provided subscription.
      summary: 'Microsoft Azure List Bare Metal Machines In The Subscription'
      operationId: microsoftAzureBaremetalmachinesListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/BareMetalMachineList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List bare metal machines for subscription:
          $ref: ./examples/BareMetalMachines_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/cloudServicesNetworks:
    get:
      description: Get a list of cloud services networks in the provided subscription.
      summary: 'Microsoft Azure List Cloud Services Networks In The Subscription'
      operationId: microsoftAzureCloudservicesnetworksListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/CloudServicesNetworkList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List cloud services networks for subscription:
          $ref: ./examples/CloudServicesNetworks_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/clusterManagers:
    get:
      description: Get a list of cluster managers in the provided subscription.
      summary: 'Microsoft Azure List Cluster Managers In The Subscription'
      operationId: microsoftAzureClustermanagersListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ClusterManagerList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List cluster managers for subscription:
          $ref: ./examples/ClusterManagers_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/clusters:
    get:
      description: Get a list of clusters in the provided subscription.
      summary: 'Microsoft Azure List Clusters In The Subscription'
      operationId: microsoftAzureClustersListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ClusterList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List clusters for subscription:
          $ref: ./examples/Clusters_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/kubernetesClusters:
    get:
      description: Get a list of Kubernetes clusters in the provided subscription.
      summary: 'Microsoft Azure List Kubernetes Clusters In The Subscription'
      operationId: microsoftAzureKubernetesclustersListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/KubernetesClusterList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List Kubernetes clusters for subscription:
          $ref: ./examples/KubernetesClusters_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/l2Networks:
    get:
      description: Get a list of layer 2 (L2) networks in the provided subscription.
      summary: 'Microsoft Azure List Layer 2 L2 Networks In The Subscription'
      operationId: microsoftAzureL2networksListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/L2NetworkList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List L2 networks for subscription:
          $ref: ./examples/L2Networks_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/l3Networks:
    get:
      description: Get a list of layer 3 (L3) networks in the provided subscription.
      summary: 'Microsoft Azure List Layer 3 L3 Networks In The Subscription'
      operationId: microsoftAzureL3networksListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/L3NetworkList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List L3 networks for subscription:
          $ref: ./examples/L3Networks_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/rackSkus:
    get:
      description: Get a list of rack SKUs in the provided subscription.
      summary: 'Microsoft Azure List Rack Skus In The Subscription'
      operationId: microsoftAzureRackskusListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/RackSkuList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List rack SKUs for subscription:
          $ref: ./examples/RackSkus_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/rackSkus/{rackSkuName}:
    get:
      description: Get the properties of the provided rack SKU.
      summary: 'Microsoft Azure Retrieve The Rack Sku'
      operationId: microsoftAzureRackskusGet
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
        - $ref: '#/parameters/RackSkuNameParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/RackSku'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Get rack SKU resource:
          $ref: ./examples/RackSkus_Get.json
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/racks:
    get:
      description: Get a list of racks in the provided subscription.
      summary: 'Microsoft Azure List Racks In The Subscription'
      operationId: microsoftAzureRacksListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/RackList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List racks for subscription:
          $ref: ./examples/Racks_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/storageAppliances:
    get:
      description: Get a list of storage appliances in the provided subscription.
      summary: 'Microsoft Azure List Storage Appliances In The Subscription'
      operationId: microsoftAzureStorageappliancesListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/StorageApplianceList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List storage appliances for subscription:
          $ref: ./examples/StorageAppliances_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/trunkedNetworks:
    get:
      description: Get a list of trunked networks in the provided subscription.
      summary: 'Microsoft Azure List Trunked Networks In The Subscription'
      operationId: microsoftAzureTrunkednetworksListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/TrunkedNetworkList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List trunked networks for subscription:
          $ref: ./examples/TrunkedNetworks_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/virtualMachines:
    get:
      description: Get a list of virtual machines in the provided subscription.
      summary: 'Microsoft Azure List Virtual Machines In The Subscription'
      operationId: microsoftAzureVirtualmachinesListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/VirtualMachineList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List virtual machines for subscription:
          $ref: ./examples/VirtualMachines_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/volumes:
    get:
      description: Get a list of volumes in the provided subscription.
      summary: 'Microsoft Azure List Volumes In The Subscription'
      operationId: microsoftAzureVolumesListbysubscription
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/VolumeList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List volume for subscription:
          $ref: ./examples/Volumes_ListBySubscription.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/bareMetalMachines:
    get:
      description: Get a list of bare metal machines in the provided resource group.
      summary: 'Microsoft Azure List Bare Metal Machines In The Resource Group'
      operationId: microsoftAzureBaremetalmachinesListbyresourcegroup
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/BareMetalMachineList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        List bare metal machines for resource group:
          $ref: ./examples/BareMetalMachines_ListByResourceGroup.json
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
        - Subscriptions
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/bareMetalMachines/{bareMetalMachineName}
  : get:
      description: Get properties of the provided bare metal machine.
      summary: 'Microsoft Azure Retrieve The Bare Metal Machine'
      operationId: microsoftAzureBaremetalmachinesGet
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/BareMetalMachineNameParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/BareMetalMachine'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Get bare metal machine:
          $ref: ./examples/BareMetalMachines_Get.json
      tags:
        - Subscriptions
    put:
      description: >-
        Create a new bare metal machine or update the properties of the existing
        one.<br>All customer initiated requests will be rejected as the life
        cycle of this resource is managed by the system.
      summary: 'Microsoft Azure Create Or Update The Bare Metal Machine'
      operationId: microsoftAzureBaremetalmachinesCreateorupdate
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/BareMetalMachineNameParameter'
        - description: The request body.
          name: bareMetalMachineParameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/BareMetalMachine'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/BareMetalMachine'
        '201':
          description: Created
          schema:
            $ref: '#/definitions/BareMetalMachine'
          headers:
            Azure-AsyncOperation:
              type: string
              description: The URL to retrieve the status of the asynchronous operation.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Create or update bare metal machine:
          $ref: ./examples/BareMetalMachines_Create.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      tags:
        - Subscriptions
    delete:
      description: >-
        Delete the provided bare metal machine.<br>All customer initiated
        requests will be rejected as the life cycle of this resource is managed
        by the system.
      summary: 'Microsoft Azure Delete The Bare Metal Machine'
      operationId: microsoftAzureBaremetalmachinesDelete
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/BareMetalMachineNameParameter'
      responses:
        '202':
          description: Accepted
          headers:
            Location:
              type: string
              description: The URL to retrieve the status of the asynchronous operation.
        '204':
          description: No Content
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Delete bare metal machine:
          $ref: ./examples/BareMetalMachines_Delete.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-schema: >-
          ../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult
        final-state-via: location
      tags:
        - Subscriptions
    patch:
      description: >-
        Patch properties of the provided bare metal machine, or update tags
        associated with the bare metal machine. Properties and tag updates can
        be done independently.
      summary: 'Microsoft Azure Patch The Bare Metal Machine'
      operationId: microsoftAzureBaremetalmachinesUpdate
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/BareMetalMachineNameParameter'
        - description: The request body.
          name: bareMetalMachineUpdateParameters
          in: body
          schema:
            $ref: '#/definitions/BareMetalMachinePatchParameters'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/BareMetalMachine'
        '202':
          description: Accepted
          schema:
            $ref: '#/definitions/BareMetalMachine'
          headers:
            Azure-AsyncOperation:
              type: string
              description: The URL to retrieve the status of the asynchronous operation.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Patch bare metal machine:
          $ref: ./examples/BareMetalMachines_Patch.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      tags:
        - Subscriptions
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/bareMetalMachines/{bareMetalMachineName}/cordon
  : post:
      description: Cordon the provided bare metal machine's Kubernetes node.
      summary: 'Microsoft Azure Cordon The Bare Metal Machine'
      operationId: microsoftAzureBaremetalmachinesCordon
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/BareMetalMachineNameParameter'
        - description: The request body.
          name: bareMetalMachineCordonParameters
          in: body
          schema:
            $ref: '#/definitions/BareMetalMachineCordonParameters'
      responses:
        '202':
          description: Accepted
          headers:
            Location:
              type: string
              description: The URL to retrieve the status of the asynchronous operation.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Cordon bare metal machine:
          $ref: ./examples/BareMetalMachines_Cordon.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-schema: >-
          ../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult
        final-state-via: location
      tags:
        - Subscriptions
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/bareMetalMachines/{bareMetalMachineName}/powerOff
  : post:
      description: Power off the provided bare metal machine.
      summary: 'Microsoft Azure Power Off The Bare Metal Machine'
      operationId: microsoftAzureBaremetalmachinesPoweroff
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/BareMetalMachineNameParameter'
        - description: The request body.
          name: bareMetalMachinePowerOffParameters
          in: body
          schema:
            $ref: '#/definitions/BareMetalMachinePowerOffParameters'
      responses:
        '202':
          description: Accepted
          headers:
            Location:
              type: string
              description: The URL to retrieve the status of the asynchronous operation.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Power off bare metal machine:
          $ref: ./examples/BareMetalMachines_PowerOff.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-schema: >-
          ../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult
        final-state-via: location
      tags:
        - Subscriptions
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/bareMetalMachines/{bareMetalMachineName}/reimage
  : post:
      description: Reimage the provided bare metal machine.
      summary: 'Microsoft Azure Reimage The Bare Metal Machine'
      operationId: microsoftAzureBaremetalmachinesReimage
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/BareMetalMachineNameParameter'
      responses:
        '202':
          description: Accepted
          headers:
            Location:
              type: string
              description: The URL to retrieve the status of the asynchronous operation.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Reimage bare metal machine:
          $ref: ./examples/BareMetalMachines_Reimage.json
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-schema: >-
          ../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult
        final-state-via: location
      tags:
        - Subscriptions
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/bareMetalMachines/{bareMetalMachineName}/replace
  : post:
      description: Replace the provided bare metal machine.
      summary: 'Microsoft Azure Replace Service The Bare Metal Machine'
      operationId: microsoftAzureBaremetalmachinesReplace
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/BareMetalMachineNameParameter'
        - description: The request body.
          name: bareMetalMachineReplaceParameters
          in: body
          schema:
            $ref: '#/definitions/BareMetalMachineReplaceParameters'
      responses:
        '202':
          description: Accepted
          headers:
            Location:
              type: string
              description: The URL to retrieve the status of the asynchronous operation.
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: >-
              ../../../.

# --- truncated at 32 KB (368 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/openapi/networkcloud-openapi-original.yml