swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector InventoryItems API schemes: - https tags: - name: InventoryItems paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/vcenters/{vcenterName}/inventoryItems/{inventoryItemName} : put: tags: - InventoryItems operationId: microsoftAzureInventoryitemsCreate description: Create Or Update InventoryItem. summary: Microsoft Azure Implements Inventoryitem Put Method x-ms-examples: CreateInventoryItem: $ref: ./examples/CreateInventoryItem.json consumes: - application/json produces: - application/json parameters: - $ref: '#/parameters/subscriptionId' - $ref: '#/parameters/resourceGroupName' - in: path name: vcenterName required: true type: string description: Name of the vCenter. - in: path name: inventoryItemName required: true type: string description: Name of the inventoryItem. - $ref: '#/parameters/api-version' - in: body name: body description: Request payload. schema: $ref: '#/definitions/InventoryItem' responses: '200': description: Arm resource update successful. schema: $ref: '#/definitions/InventoryItem' default: description: Error response describing why the operation failed. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse get: tags: - InventoryItems operationId: microsoftAzureInventoryitemsGet summary: Microsoft Azure Gets Inventoryitem description: Implements InventoryItem GET method. x-ms-examples: GetInventoryItem: $ref: ./examples/GetInventoryItem.json produces: - application/json parameters: - $ref: '#/parameters/subscriptionId' - $ref: '#/parameters/resourceGroupName' - in: path name: vcenterName required: true type: string description: Name of the vCenter. - in: path name: inventoryItemName required: true type: string description: Name of the inventoryItem. - $ref: '#/parameters/api-version' responses: '200': description: Success schema: $ref: '#/definitions/InventoryItem' default: description: Error response describing why the operation failed. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse delete: tags: - InventoryItems operationId: microsoftAzureInventoryitemsDelete summary: Microsoft Azure Deletes An Inventoryitem description: Implements inventoryItem DELETE method. x-ms-examples: DeleteInventoryItem: $ref: ./examples/DeleteInventoryItem.json produces: - application/json parameters: - $ref: '#/parameters/subscriptionId' - $ref: '#/parameters/resourceGroupName' - in: path name: vcenterName required: true type: string description: Name of the vCenter. - in: path name: inventoryItemName required: true type: string description: Name of the inventoryItem. - $ref: '#/parameters/api-version' responses: '200': description: Success '204': description: No Content default: description: Error response describing why the operation failed. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/vcenters/{vcenterName}/inventoryItems : get: tags: - InventoryItems operationId: microsoftAzureInventoryitemsListbyvcenter summary: Microsoft Azure Implements Get Inventoryitems In A Vcenter description: Returns the list of inventoryItems of the given vCenter. x-ms-examples: InventoryItemsListByVCenter: $ref: ./examples/InventoryItems_ListByVCenter.json produces: - application/json parameters: - $ref: '#/parameters/subscriptionId' - $ref: '#/parameters/resourceGroupName' - in: path name: vcenterName required: true type: string description: Name of the vCenter. - $ref: '#/parameters/api-version' responses: '200': description: Success schema: $ref: '#/definitions/InventoryItemsList' default: description: Error response describing why the operation failed. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems/{inventoryItemName} : put: tags: - InventoryItems operationId: microsoftAzureInventoryitemsCreate summary: Microsoft Azure Implements Inventoryitem Put Method description: Create Or Update InventoryItem. x-ms-examples: CreateInventoryItem: $ref: ./examples/CreateInventoryItem.json consumes: - application/json produces: - application/json parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - in: path name: vmmServerName required: true type: string description: Name of the VMMServer. - in: path name: inventoryItemName required: true type: string description: Name of the inventoryItem. - $ref: '#/parameters/ApiVersionParameter' - in: body name: body description: Request payload. schema: $ref: '#/definitions/InventoryItem_2' responses: '200': description: Success schema: $ref: '#/definitions/InventoryItem_2' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' get: tags: - InventoryItems operationId: microsoftAzureInventoryitemsGet summary: Microsoft Azure Implements Get Inventoryitem Method description: Shows an inventory item. x-ms-examples: GetInventoryItem: $ref: ./examples/GetInventoryItem.json produces: - application/json parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - in: path name: vmmServerName required: true type: string description: Name of the VMMServer. - in: path name: inventoryItemName required: true type: string description: Name of the inventoryItem. - $ref: '#/parameters/ApiVersionParameter' responses: '200': description: Success schema: $ref: '#/definitions/InventoryItem_2' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' delete: tags: - InventoryItems operationId: microsoftAzureInventoryitemsDelete summary: Microsoft Azure Implements Inventoryitem Delete Method description: Deletes an inventoryItem. x-ms-examples: DeleteInventoryItem: $ref: ./examples/DeleteInventoryItem.json produces: - application/json parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - in: path name: vmmServerName required: true type: string description: Name of the VMMServer. - in: path name: inventoryItemName required: true type: string description: Name of the inventoryItem. - $ref: '#/parameters/ApiVersionParameter' responses: '200': description: Success '204': description: No Content default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/vmmServers/{vmmServerName}/inventoryItems : get: tags: - InventoryItems operationId: microsoftAzureInventoryitemsListbyvmmserver summary: Microsoft Azure Implements Get For The List Of Inventory Items In The Vmmserver description: Returns the list of inventoryItems in the given VMMServer. x-ms-examples: InventoryItemsListByVMMServer: $ref: ./examples/ListInventoryItemsByVMMServer.json produces: - application/json parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - in: path name: vmmServerName required: true type: string description: Name of the VMMServer. - $ref: '#/parameters/ApiVersionParameter' responses: '200': description: Success schema: $ref: '#/definitions/InventoryItemsList' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-pageable: nextLinkName: nextLink definitions: InventoryType: type: string description: The inventory type. enum: - ResourcePool - VirtualMachine - VirtualMachineTemplate - VirtualNetwork - Cluster - Datastore - Host x-ms-enum: name: InventoryType modelAsString: true InventoryItemProperties: description: Describes the properties of an Inventory Item. required: - inventoryType discriminator: inventoryType type: object properties: inventoryType: description: They inventory type. $ref: '#/definitions/InventoryType' managedResourceId: description: Gets or sets the tracked resource id corresponding to the inventory resource. type: string moRefId: description: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. type: string moName: description: Gets or sets the vCenter Managed Object name for the inventory item. type: string provisioningState: $ref: '#/definitions/ResourceProvisioningState' description: Gets the provisioning state. readOnly: true InventoryItemsList: description: List of InventoryItems. type: object properties: nextLink: description: Url to follow for getting next page of InventoryItems. type: string value: description: Array of InventoryItems type: array items: $ref: '#/definitions/InventoryItem' required: - value ResourceProvisioningState: type: string description: The current deployment state of resource. enum: - Succeeded - Failed - Canceled - Provisioning - Updating - Deleting - Accepted - Created x-ms-enum: name: ProvisioningState modelAsString: true ErrorResponse: description: Error response. type: object properties: error: $ref: '#/definitions/ErrorDefinition' description: The error details. ErrorDefinition: description: Error definition. type: object properties: code: description: Service specific error code which serves as the substatus for the HTTP error code. type: string readOnly: true message: description: Description of the error. type: string readOnly: true details: description: Internal error details. type: array items: $ref: '#/definitions/ErrorDefinition' x-ms-identifiers: [] readOnly: true InventoryItem_2: description: Defines the inventory item. required: - properties type: object allOf: - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource description: The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags. properties: properties: x-ms-client-flatten: true description: Resource properties. $ref: '#/definitions/InventoryItemProperties_2' kind: type: string description: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. x-ms-azure-resource: true InventoryType_2: type: string description: The inventory type. enum: - Cloud - VirtualNetwork - VirtualMachineTemplate - VirtualMachine x-ms-enum: name: InventoryType modelAsString: true InventoryItem: description: Defines the inventory item. required: - properties type: object allOf: - $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource description: The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags. properties: properties: x-ms-client-flatten: true description: Resource properties. $ref: '#/definitions/InventoryItemProperties' kind: type: string description: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. x-ms-azure-resource: true InventoryItemProperties_2: description: Defines the resource properties. required: - inventoryType discriminator: inventoryType type: object properties: inventoryType: description: They inventory type. $ref: '#/definitions/InventoryType_2' managedResourceId: description: Gets the tracked resource id corresponding to the inventory resource. type: string readOnly: true uuid: description: Gets the UUID (which is assigned by VMM) for the inventory item. type: string readOnly: true inventoryItemName: description: Gets the Managed Object name in VMM for the inventory item. type: string readOnly: true provisioningState: description: Gets the provisioning state. type: string readOnly: true parameters: ApiVersionParameter: name: api-version in: query required: true type: string description: The API version to be used with the HTTP request (e.g. YYYY-MM-DD). resourceGroupName: in: path name: resourceGroupName description: The Resource Group Name. required: true type: string x-ms-parameter-location: method subscriptionId: in: path name: subscriptionId description: The Subscription ID. required: true type: string SubscriptionIdParameter: name: subscriptionId in: path required: true type: string description: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). api-version: in: query name: api-version description: Client Api Version. required: true type: string ResourceGroupNameParameter: name: resourceGroupName in: path required: true type: string description: The name of the resource group. x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'