swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector ArmTemplates API schemes: - https tags: - name: ArmTemplates paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates : get: tags: - ArmTemplates description: List azure resource manager templates in a given artifact source. operationId: microsoftAzureArmtemplatesList parameters: - $ref: '#/parameters/subscriptionId' - $ref: '#/parameters/resourceGroupName' - name: labName in: path description: The name of the lab. required: true type: string - name: artifactSourceName in: path description: The name of the artifact source. required: true type: string - name: $expand in: query description: 'Specify the $expand query. Example: ''properties($select=displayName)''' type: string - name: $filter in: query description: 'The filter to apply to the operation. Example: ''$filter=contains(name,''myName'')' type: string - name: $top in: query description: 'The maximum number of resources to return from the operation. Example: ''$top=10''' type: integer format: int32 - name: $orderby in: query description: 'The ordering expression for the results, using OData notation. Example: ''$orderby=name desc''' type: string - $ref: '#/parameters/api-version' responses: '200': description: OK schema: $ref: '#/definitions/ArmTemplateList' default: description: BadRequest schema: $ref: '#/definitions/CloudError' x-ms-pageable: nextLinkName: nextLink x-ms-odata: '#/definitions/ArmTemplate' x-ms-examples: ArmTemplates_List: $ref: ./examples/ArmTemplates_List.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Artifactsources Artifactsourcename Armtemplates ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates/{name} : get: tags: - ArmTemplates description: Get azure resource manager template. operationId: microsoftAzureArmtemplatesGet parameters: - $ref: '#/parameters/subscriptionId' - $ref: '#/parameters/resourceGroupName' - name: labName in: path description: The name of the lab. required: true type: string - name: artifactSourceName in: path description: The name of the artifact source. required: true type: string - name: name in: path description: The name of the azure resource manager template. required: true type: string - name: $expand in: query description: 'Specify the $expand query. Example: ''properties($select=displayName)''' type: string - $ref: '#/parameters/api-version' responses: '200': description: OK schema: $ref: '#/definitions/ArmTemplate' default: description: BadRequest schema: $ref: '#/definitions/CloudError' x-ms-examples: ArmTemplates_Get: $ref: ./examples/ArmTemplates_Get.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Artifactsources Artifactsourcename Armtemplates Name definitions: ArmTemplateProperties: description: Properties of an Azure Resource Manager template. type: object properties: displayName: description: The display name of the ARM template. type: string readOnly: true description: description: The description of the ARM template. type: string readOnly: true publisher: description: The publisher of the ARM template. type: string readOnly: true icon: description: The URI to the icon of the ARM template. type: string readOnly: true contents: description: The contents of the ARM template. type: object readOnly: true createdDate: format: date-time description: The creation date of the armTemplate. type: string readOnly: true parametersValueFilesInfo: description: File name and parameter values information from all azuredeploy.*.parameters.json for the ARM template. type: array items: $ref: '#/definitions/ParametersValueFileInfo' readOnly: true enabled: description: Whether or not ARM template is enabled for use by lab user. type: boolean readOnly: true Resource: description: An Azure resource. type: object properties: id: description: The identifier of the resource. type: string readOnly: true name: description: The name of the resource. type: string readOnly: true type: description: The type of the resource. type: string readOnly: true location: description: The location of the resource. type: string tags: description: The tags of the resource. type: object additionalProperties: type: string x-ms-azure-resource: true ArmTemplateList: description: The response of a list operation. type: object properties: value: description: Results of the list operation. type: array items: $ref: '#/definitions/ArmTemplate' nextLink: description: Link for next set of results. type: string CloudError: description: Error from a REST request. type: object properties: error: $ref: '#/definitions/CloudErrorBody' description: The cloud error that occurred x-ms-external: true CloudErrorBody: description: Body of an error from a REST request. type: object properties: code: description: The error code. type: string message: description: The error message. type: string target: description: The error target. type: string details: description: Inner errors. type: array items: $ref: '#/definitions/CloudErrorBody' x-ms-external: true ArmTemplate: description: An Azure Resource Manager template. required: - properties type: object allOf: - $ref: '#/definitions/Resource' properties: properties: $ref: '#/definitions/ArmTemplateProperties' description: The properties of the resource. x-ms-client-flatten: true ParametersValueFileInfo: description: A file containing a set of parameter values for an ARM template. type: object properties: fileName: description: File name. type: string parametersValueInfo: description: Contents of the file. type: object parameters: resourceGroupName: name: resourceGroupName in: path description: The name of the resource group. required: true type: string x-ms-parameter-location: method subscriptionId: name: subscriptionId in: path description: The subscription ID. required: true type: string api-version: name: api-version in: query description: Client API version. required: true type: string default: '2018-09-15' x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'