swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector HypervHostController API schemes: - https tags: - name: HypervHostController paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/hosts : get: operationId: microsoftAzureHypervhostcontrollerListbyhypervsite tags: - HypervHostController description: List HypervHost resources by HypervSite parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - name: filter in: query description: filter query required: false type: string - name: siteName in: path description: Site name required: true type: string pattern: ^[a-zA-Z0-9-]{3,24}$ responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/HypervHostListResult' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-examples: HypervHostController_ListByHypervSite_MaximumSet_Gen: $ref: ./examples/HypervHostController_ListByHypervSite_MaximumSet_Gen.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure Hypervsites Sitename Hosts ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/hosts/{hostName} : get: operationId: microsoftAzureHypervhostcontrollerGet tags: - HypervHostController description: Get a HypervHost parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - name: siteName in: path description: Site name required: true type: string pattern: ^[a-zA-Z0-9-]{3,24}$ - name: hostName in: path description: ' Host name' required: true type: string pattern: ^[a-zA-Z0-9-]{3,24}$ responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/HypervHost' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: HypervHostController_Get_MaximumSet_Gen: $ref: ./examples/HypervHostController_Get_MaximumSet_Gen.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure Hypervsites Sitename Hosts Hostname put: operationId: microsoftAzureHypervhostcontrollerCreate tags: - HypervHostController description: Create a HypervHost parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - name: siteName in: path description: Site name required: true type: string pattern: ^[a-zA-Z0-9-]{3,24}$ - name: hostName in: path description: ' Host name' required: true type: string pattern: ^[a-zA-Z0-9-]{3,24}$ - name: body in: body description: Resource create parameters. required: true schema: $ref: '#/definitions/HypervHost' responses: '200': description: ARM update operation completed successfully. schema: $ref: '#/definitions/HypervHost' '201': description: ARM create operation completed successfully. schema: $ref: '#/definitions/HypervHost' headers: Retry-After: type: integer format: int32 description: The Retry-After header can indicate how long the client should wait before polling the operation status. default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-long-running-operation-options: final-state-via: location x-ms-long-running-operation: true x-ms-examples: HypervHostController_Create_MaximumSet_Gen: $ref: ./examples/HypervHostController_Create_MaximumSet_Gen.json summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure Hypervsites Sitename Hosts Hostname delete: operationId: microsoftAzureHypervhostcontrollerDelete tags: - HypervHostController description: Delete a HypervHost parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - name: siteName in: path description: Site name required: true type: string pattern: ^[a-zA-Z0-9-]{3,24}$ - name: hostName in: path description: ' Host name' required: true type: string pattern: ^[a-zA-Z0-9-]{3,24}$ responses: '200': description: Resource deleted successfully. '202': description: Resource deletion accepted. headers: Retry-After: type: integer format: int32 description: The Retry-After header can indicate how long the client should wait before polling the operation status. Location: type: string description: The Location header contains the URL where the status of the long running operation can be checked. '204': description: Resource deleted successfully. default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-long-running-operation-options: final-state-via: location x-ms-long-running-operation: true x-ms-examples: HypervHostController_Delete_MaximumSet_Gen: $ref: ./examples/HypervHostController_Delete_MaximumSet_Gen.json summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Offazure Hypervsites Sitename Hosts Hostname definitions: HypervHostListResult: type: object description: The response of a HypervHost list operation. properties: value: type: array description: The HypervHost items on this page items: $ref: '#/definitions/HypervHost' nextLink: type: string format: uri description: The link to the next page of items required: - value HealthErrorDetails: type: object description: Error contract returned when some exception occurs in Rest API. properties: message: type: string description: Gets the error message. readOnly: true messageParameters: type: object description: Gets the message parameters. additionalProperties: type: string readOnly: true applianceName: type: string description: Gets the appliance name. readOnly: true id: type: integer format: int64 description: Gets the error ID. readOnly: true code: type: string description: Gets the error name. readOnly: true possibleCauses: type: string description: Gets the possible causes of error. readOnly: true recommendedAction: type: string description: Gets the recommended action to resolve error. readOnly: true severity: type: string description: Gets the error severity. readOnly: true summaryMessage: type: string description: Gets the error summary message. readOnly: true source: $ref: '#/definitions/HealthErrorDetailsSource' description: Gets the error source. readOnly: true updatedTimeStamp: type: string format: date-time description: Gets the time stamp when the error was updated. readOnly: true runAsAccountId: type: string description: Gets run as account id used while performing discovery of entity. readOnly: true discoveryScope: $ref: '#/definitions/HealthErrorDetailsDiscoveryScope' description: Gets discovery scope for which error is encountered. readOnly: true HypervHost: type: object description: A host resource belonging to a site resource. properties: properties: $ref: '#/definitions/HypervHostProperties' description: The resource-specific properties for this resource. x-ms-client-flatten: true x-ms-mutability: - read - create allOf: - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource HypervHostProperties: type: object description: The properties of Hyperv Host properties: createdTimestamp: type: string description: Gets the timestamp marking Hyper-V host creation. readOnly: true updatedTimestamp: type: string description: Gets the timestamp marking last updated on the Hyper-V host. readOnly: true fqdn: type: string description: Gets or sets the FQDN/IPAddress of the Hyper-V host. runAsAccountId: type: string description: Gets or sets the run as account ID of the Hyper-V host. version: type: string description: Gets the version of the Hyper-V host. readOnly: true errors: type: array description: Gets the errors. items: $ref: '#/definitions/HealthErrorDetails' readOnly: true provisioningState: $ref: '#/definitions/ProvisioningState' description: The status of the last operation. HealthErrorDetailsDiscoveryScope: type: string description: Gets discovery scope for which error is encountered. enum: - AppsAndRoles - DependencyMap - StaticData - SQLServerConnectionInfo - DiscoveryTargets x-ms-enum: name: HealthErrorDetailsDiscoveryScope modelAsString: true values: - name: AppsAndRoles value: AppsAndRoles description: AppsAndRoles value. - name: DependencyMap value: DependencyMap description: DependencyMap value. - name: StaticData value: StaticData description: StaticData value. - name: SQLServerConnectionInfo value: SQLServerConnectionInfo description: SQLServerConnectionInfo value. - name: DiscoveryTargets value: DiscoveryTargets description: DiscoveryTargets value. ProvisioningState: type: string description: The status of the current operation. enum: - Created - Updated - Running - Completed - Failed - Succeeded - Canceled x-ms-enum: name: ProvisioningState modelAsString: true values: - name: Created value: Created description: Created value. - name: Updated value: Updated description: Updated value. - name: Running value: Running description: Running value. - name: Completed value: Completed description: Completed value. - name: Failed value: Failed description: Failed value. - name: Succeeded value: Succeeded description: Succeeded value. - name: Canceled value: Canceled description: Canceled value. HealthErrorDetailsSource: type: string description: HealthError Details Source enum: - RefreshFabricLayout - RefreshFabricLayoutGuest - RefreshFabricLayoutDependencyMap x-ms-enum: name: HealthErrorDetailsSource modelAsString: true values: - name: RefreshFabricLayout value: RefreshFabricLayout description: RefreshFabricLayout value. - name: RefreshFabricLayoutGuest value: RefreshFabricLayoutGuest description: RefreshFabricLayoutGuest value. - name: RefreshFabricLayoutDependencyMap value: RefreshFabricLayoutDependencyMap description: RefreshFabricLayoutDependencyMap value. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'