swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Hybrid Use Benefits API schemes: - https tags: - name: Hybrid Use Benefits paths: /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits: get: description: Get all hybrid use benefits associated with an ARM resource. operationId: microsoftAzureHybridusebenefitList tags: - Hybrid Use Benefits x-ms-examples: HybridUseBenefitListResult: $ref: ./examples/GetAllHybridUseBenefits.json x-ms-pageable: nextLinkName: nextLink parameters: - $ref: '#/parameters/ScopeParameter' - $ref: '#/parameters/ApiVersionParameter' - name: $filter in: query required: false type: string description: Supports applying filter on the type of SKU responses: '200': description: OK - returns an array of plans at that scope schema: $ref: '#/definitions/HybridUseBenefitListResult' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/Error' summary: Microsoft Azure Get Scope Providers Microsoft Softwareplan Hybridusebenefits definitions: ErrorCode: type: string description: Defined error codes to be returned to the client. enum: - InvalidRequestParameter - MissingRequestParameter x-ms-enum: name: ErrorCode modelAsString: true HybridUseBenefitModel: description: Response on GET of a hybrid use benefit required: - sku allOf: - $ref: ../../../../../common-types/resource-management/v1/types.json#/definitions/Resource properties: sku: description: Hybrid use benefit SKU $ref: '#/definitions/Sku' etag: type: integer format: int32 description: Indicates the revision of the hybrid use benefit readOnly: true properties: description: Property bag for a hybrid use benefit response x-ms-client-flatten: true $ref: '#/definitions/HybridUseBenefitProperties' ProvisioningState: type: string description: Represent the current state of the Reservation. enum: - Succeeded - Cancelled - Failed x-ms-enum: name: ProvisioningState modelAsString: true Sku: type: object description: The SKU to be applied for this resource properties: name: type: string description: Name of the SKU to be applied Error: type: object description: Error object returned by the RP properties: code: description: Error code $ref: '#/definitions/ErrorCode' message: type: string description: A user readable error message. Localized based on x-ms-effective-locale header in the request HybridUseBenefitListResult: description: List of hybrid use benefits properties: value: description: List of hybrid use benefits type: array items: $ref: '#/definitions/HybridUseBenefitModel' nextLink: type: string description: Url to get the next page of items. HybridUseBenefitProperties: description: Hybrid use benefit properties properties: provisioningState: type: string description: Provisioning state $ref: '#/definitions/ProvisioningState' readOnly: true createdDate: type: string description: Created date format: date-time readOnly: true lastUpdatedDate: type: string description: Last updated date format: date-time readOnly: true parameters: ApiVersionParameter: name: api-version in: query x-ms-parameter-location: client required: true description: The api-version to be used by the service type: string ScopeParameter: name: scope in: path x-ms-parameter-location: method required: true type: string description: The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'