The services/projects/files resource type can be deployed to:
For a list of changed properties in each API version, see change log.
To create a Microsoft.DataMigration/services/projects/files resource, add the following JSON to your template.
{
"type": "Microsoft.DataMigration/services/projects/files",
"apiVersion": "2022-03-30-preview",
"name": "string",
"etag": "string",
"properties": {
"extension": "string",
"filePath": "string",
"mediaType": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.DataMigration/services/projects/files' |
apiVersion | The resource api version | '2022-03-30-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
etag | HTTP strong entity tag value. This is ignored if submitted. | string |
properties | Custom file properties | ProjectFileProperties |
Name | Description | Value |
---|---|---|
extension | Optional File extension. If submitted it should not have a leading period and must match the extension from filePath. | string |
filePath | Relative path of this file resource. This property can be set when creating or updating the file resource. | string |
mediaType | File content type. This property can be modified to reflect the file content type. | string |