Microsoft.AzureActiveDirectory guestUsages

Bicep resource definition

The guestUsages resource type can be deployed to:

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

Resource format

To create a Microsoft.AzureActiveDirectory/guestUsages resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.AzureActiveDirectory/guestUsages@2021-04-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    tenantId: 'string'
  }
}

Property values

guestUsages

Name Description Value
name The resource name string (required)
location Location of the Guest Usages resource. string
tags Key-value pairs of additional resource provisioning properties. Dictionary of tag names and values. See Tags in templates
properties The Guest Usages Resource Properties GuestUsagesResourceProperties

GuestUsagesResourceProperties

Name Description Value
tenantId An identifier for the tenant for which the resource is being created string

ARM template resource definition

The guestUsages resource type can be deployed to:

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

Resource format

To create a Microsoft.AzureActiveDirectory/guestUsages resource, add the following JSON to your template.

{
  "type": "Microsoft.AzureActiveDirectory/guestUsages",
  "apiVersion": "2021-04-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "tenantId": "string"
  }
}

Property values

guestUsages

Name Description Value
type The resource type 'Microsoft.AzureActiveDirectory/guestUsages'
apiVersion The resource api version '2021-04-01'
name The resource name string (required)
location Location of the Guest Usages resource. string
tags Key-value pairs of additional resource provisioning properties. Dictionary of tag names and values. See Tags in templates
properties The Guest Usages Resource Properties GuestUsagesResourceProperties

GuestUsagesResourceProperties

Name Description Value
tenantId An identifier for the tenant for which the resource is being created string

Terraform (AzAPI provider) resource definition

The guestUsages resource type can be deployed to:

  • Resource groups

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

Resource format

To create a Microsoft.AzureActiveDirectory/guestUsages resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AzureActiveDirectory/guestUsages@2021-04-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      tenantId = "string"
    }
  })
}

Property values

guestUsages

Name Description Value
type The resource type "Microsoft.AzureActiveDirectory/guestUsages@2021-04-01"
name The resource name string (required)
location Location of the Guest Usages resource. string
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
tags Key-value pairs of additional resource provisioning properties. Dictionary of tag names and values.
properties The Guest Usages Resource Properties GuestUsagesResourceProperties

GuestUsagesResourceProperties

Name Description Value
tenantId An identifier for the tenant for which the resource is being created string