Share via


Microsoft.StorageMover storageMovers

Bicep resource definition

The storageMovers resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.StorageMover/storageMovers resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.StorageMover/storageMovers@2025-08-01' = {
  location: 'string'
  name: 'string'
  properties: {
    description: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.StorageMover/storageMovers

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$ (required)
properties The resource specific properties for the Storage Mover resource. StorageMoverProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

StorageMoverProperties

Name Description Value
description A description for the Storage Mover. string

TrackedResourceTags

Name Description Value

ARM template resource definition

The storageMovers resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.StorageMover/storageMovers resource, add the following JSON to your template.

{
  "type": "Microsoft.StorageMover/storageMovers",
  "apiVersion": "2025-08-01",
  "name": "string",
  "location": "string",
  "properties": {
    "description": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.StorageMover/storageMovers

Name Description Value
apiVersion The api version '2025-08-01'
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$ (required)
properties The resource specific properties for the Storage Mover resource. StorageMoverProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.StorageMover/storageMovers'

StorageMoverProperties

Name Description Value
description A description for the Storage Mover. string

TrackedResourceTags

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

The storageMovers resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.StorageMover/storageMovers resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.StorageMover/storageMovers@2025-08-01"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      description = "string"
    }
  }
}

Property Values

Microsoft.StorageMover/storageMovers

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$ (required)
properties The resource specific properties for the Storage Mover resource. StorageMoverProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.StorageMover/storageMovers@2025-08-01"

StorageMoverProperties

Name Description Value
description A description for the Storage Mover. string

TrackedResourceTags

Name Description Value

Usage Examples

Terraform Samples

A basic example of deploying Storage Mover.

terraform {
  required_providers {
    azapi = {
      source = "Azure/azapi"
    }
  }
}

provider "azapi" {
  skip_provider_registration = false
}

variable "resource_name" {
  type    = string
  default = "acctest0001"
}

variable "location" {
  type    = string
  default = "eastus"
}

resource "azapi_resource" "resourceGroup" {
  type     = "Microsoft.Resources/resourceGroups@2020-06-01"
  name     = var.resource_name
  location = var.location
}

resource "azapi_resource" "storageMover" {
  type      = "Microsoft.StorageMover/storageMovers@2023-03-01"
  parent_id = azapi_resource.resourceGroup.id
  name      = var.resource_name
  location  = var.location
  body = {
    properties = {
    }

  }
  schema_validation_enabled = false
  response_export_values    = ["*"]
}