Share via


Microsoft.Intune locations

Bicep resource definition

The locations 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.Intune/locations resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Intune/locations@2015-01-14-preview' = {
  name: 'hostName'
}

Property Values

Microsoft.Intune/locations

Name Description Value
name The resource name 'hostName' (required)

ARM template resource definition

The locations 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.Intune/locations resource, add the following JSON to your template.

{
  "type": "Microsoft.Intune/locations",
  "apiVersion": "2015-01-14-preview",
  "name": "string"
}

Property Values

Microsoft.Intune/locations

Name Description Value
apiVersion The api version '2015-01-14-preview'
name The resource name 'hostName' (required)
type The resource type 'Microsoft.Intune/locations'

Usage Examples

Terraform (AzAPI provider) resource definition

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

  • Tenant

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

Resource format

To create a Microsoft.Intune/locations resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Intune/locations@2015-01-14-preview"
  name = "string"
  parent_id = "string"
}

Property Values

Microsoft.Intune/locations

Name Description Value
name The resource name 'hostName' (required)
type The resource type "Microsoft.Intune/locations@2015-01-14-preview"