swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector MarketplaceImageSasToken API schemes: - https tags: - name: MarketplaceImageSasToken paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/publishers/{publisherName}/offers/{offerName}/skus/{skuName}/versions/{versionName}/generatesastoken : post: tags: - MarketplaceImageSasToken summary: Microsoft Azure Returns Sastoken operationId: microsoftAzureMarketplaceimagesastokenGetsastoken parameters: - $ref: '#/parameters/subscriptionIdParameter' - $ref: '#/parameters/resourceGroupNameParameter' - name: deviceName in: path description: '' required: true type: string pattern: '[ A-Za-z0-9_@./#&+-]*' - name: publisherName in: path description: '' required: true type: string pattern: '[ A-Za-z0-9_@./#&+-]*' - name: offerName in: path description: '' required: true type: string pattern: '[ A-Za-z0-9_@./#&+-]*' - name: skuName in: path description: '' required: true type: string pattern: '[ A-Za-z0-9_@./#&+-]*' - name: versionName in: path description: '' required: true type: string pattern: '[ A-Za-z0-9_@./#&+-]*' - $ref: '#/parameters/apiVersionParameter' responses: '200': description: GetSASToken is working fine schema: $ref: '#/definitions/MarketplaceSasToken' '202': description: Accepted the request to start VM Image Download schema: $ref: '#/definitions/MarketplaceSasToken' headers: Location: type: string default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-long-running-operation: true x-ms-long-running-operation-options: final-state-via: location x-ms-examples: OrderGet: $ref: ./examples/GetSASToken.json description: Needs a more full description created. definitions: CloudError: description: An error response from the service. type: object properties: error: $ref: '#/definitions/CloudErrorBody' description: The error details. x-ms-external: true MarketplaceSasToken: type: object properties: status: type: string sasUri: type: string x-ms-secret: true CloudErrorBody: description: An error response from the service. type: object properties: code: description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. type: string message: description: A message describing the error, intended to be suitable for display in a user interface. type: string details: description: A list of additional details about the error. type: array items: $ref: '#/definitions/CloudErrorBody' x-ms-identifiers: [] x-ms-external: true parameters: subscriptionIdParameter: name: subscriptionId in: path description: The subscription ID. required: true type: string apiVersionParameter: name: api-version in: query description: The API version. required: true type: string resourceGroupNameParameter: name: resourceGroupName in: path description: The resource group name. required: true type: string x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'