Microsoft.ApiManagement service/apis/issues/attachments 2020-06-01-preview

Template format

To create a Microsoft.ApiManagement/service/apis/issues/attachments resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.ApiManagement/service/apis/issues/attachments",
  "apiVersion": "2020-06-01-preview",
  "properties": {
    "title": "string",
    "contentFormat": "string",
    "content": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.ApiManagement/service/apis/issues/attachments object

Name Type Required Value
name string Yes Attachment identifier within an Issue. Must be unique in the current Issue.
type enum Yes attachments
-or-
Microsoft.ApiManagement/service/apis/issues/attachments

See Set name and type for child resources.
apiVersion enum Yes 2020-06-01-preview
properties object Yes Properties of the Issue Attachment. - IssueAttachmentContractProperties object

IssueAttachmentContractProperties object

Name Type Required Value
title string Yes Filename by which the binary data will be saved.
contentFormat string Yes Either 'link' if content is provided via an HTTP link or the MIME type of the Base64-encoded binary data provided in the 'content' property.
content string Yes An HTTP link or Base64-encoded binary data.