swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector PublishedArtifact API schemes: - https tags: - name: PublishedArtifact paths: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId}/artifacts/{artifactName}: get: tags: - PublishedArtifact operationId: microsoftAzurePublishedartifactsGet description: Get an artifact for a published blueprint definition. x-ms-examples: Sub-ARMTemplateArtifact: $ref: ./examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json Sub-PolicyAssignmentArtifact: $ref: ./examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json Sub-RoleAssignmentArtifact: $ref: ./examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json MG-ARMTemplateArtifact: $ref: ./examples/managementGroupBPDef/SealedARMTemplateArtifact_Get.json MG-PolicyAssignmentArtifact: $ref: ./examples/managementGroupBPDef/SealedPolicyAssignmentArtifact_Get.json MG-RoleAssignmentArtifact: $ref: ./examples/managementGroupBPDef/SealedRoleAssignmentArtifact_Get.json parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/ScopeParameter' - $ref: '#/parameters/BlueprintNameParameter' - $ref: '#/parameters/PublishedBlueprintVersionIdParameter' - $ref: '#/parameters/ArtifactNameParameter' responses: '200': description: OK -- artifact of published blueprint definition retrieved. schema: $ref: '#/definitions/Artifact' default: description: Blueprints error response. schema: $ref: '#/definitions/CloudError' summary: Microsoft Azure Get Resourcescope Providers Microsoft Blueprint Blueprints Blueprintname Versions Versionid Artifacts Artifactname /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId}/artifacts: get: tags: - PublishedArtifact operationId: microsoftAzurePublishedartifactsList description: List artifacts for a version of a published blueprint definition. x-ms-examples: Sub-ArtifactList: $ref: ./examples/subscriptionBPDef/SealedArtifact_List.json MG-ArtifactList: $ref: ./examples/managementGroupBPDef/SealedArtifact_List.json parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/ScopeParameter' - $ref: '#/parameters/BlueprintNameParameter' - $ref: '#/parameters/PublishedBlueprintVersionIdParameter' responses: '200': description: OK -- artifacts of a version of published blueprint definition retrieved. schema: $ref: '#/definitions/ArtifactList' default: description: Blueprints error response. schema: $ref: '#/definitions/CloudError' x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Resourcescope Providers Microsoft Blueprint Blueprints Blueprintname Versions Versionid Artifacts definitions: ArtifactList: type: object description: List of blueprint artifacts. properties: value: type: array description: List of blueprint artifacts. items: $ref: '#/definitions/Artifact' nextLink: type: string readOnly: true description: Link to the next page of results. CloudError: x-ms-external: true properties: error: $ref: ../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse AzureResourceBase: description: Common properties for all Azure resources. type: object x-ms-azure-resource: true properties: id: readOnly: true type: string description: String Id used to locate any resource on Azure. type: readOnly: true type: string description: Type of this resource. name: readOnly: true type: string description: Name of this resource. Artifact: type: object discriminator: kind description: Represents a blueprint artifact. allOf: - $ref: '#/definitions/AzureResourceBase' properties: kind: type: string description: Specifies the kind of blueprint artifact. enum: - template - roleAssignment - policyAssignment x-ms-enum: name: ArtifactKind modelAsString: true required: - kind parameters: ApiVersionParameter: name: api-version in: query required: true type: string x-ms-parameter-location: client description: Client API Version. PublishedBlueprintVersionIdParameter: name: versionId in: path required: true type: string x-ms-parameter-location: method description: Version of the published blueprint definition. ScopeParameter: name: resourceScope in: path required: true type: string description: 'The scope of the resource. Valid scopes are: management group (format: ''/providers/Microsoft.Management/managementGroups/{managementGroup}''), subscription (format: ''/subscriptions/{subscriptionId}'').' x-ms-parameter-location: method x-ms-skip-url-encoding: true BlueprintNameParameter: name: blueprintName in: path required: true type: string x-ms-parameter-location: method description: Name of the blueprint definition. ArtifactNameParameter: name: artifactName in: path required: true type: string x-ms-parameter-location: method description: Name of the blueprint artifact. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'