Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The guestUsages resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
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@2023-05-17-preview' = {
location: 'string'
name: 'string'
properties: {
tenantId: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.AzureActiveDirectory/guestUsages
| Name | Description | Value |
|---|---|---|
| location | Location of the Guest Usages resource. | string |
| name | The resource name | string (required) |
| properties | The Guest Usages Resource Properties | GuestUsagesResourceProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
GuestUsagesResourceProperties
| Name | Description | Value |
|---|---|---|
| tenantId | An identifier for the tenant for which the resource is being created | string |
GuestUsagesResourceTags
| Name | Description | Value |
|---|
ARM template resource definition
The guestUsages resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.AzureActiveDirectory/guestUsages resource, add the following JSON to your template.
{
"type": "Microsoft.AzureActiveDirectory/guestUsages",
"apiVersion": "2023-05-17-preview",
"name": "string",
"location": "string",
"properties": {
"tenantId": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.AzureActiveDirectory/guestUsages
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2023-05-17-preview' |
| location | Location of the Guest Usages resource. | string |
| name | The resource name | string (required) |
| properties | The Guest Usages Resource Properties | GuestUsagesResourceProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.AzureActiveDirectory/guestUsages' |
GuestUsagesResourceProperties
| Name | Description | Value |
|---|---|---|
| tenantId | An identifier for the tenant for which the resource is being created | string |
GuestUsagesResourceTags
| Name | Description | Value |
|---|
Terraform (AzAPI provider) resource definition
The guestUsages 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.AzureActiveDirectory/guestUsages resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.AzureActiveDirectory/guestUsages@2023-05-17-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
tenantId = "string"
}
}
}
Property Values
Microsoft.AzureActiveDirectory/guestUsages
| Name | Description | Value |
|---|---|---|
| location | Location of the Guest Usages resource. | string |
| name | The resource name | string (required) |
| properties | The Guest Usages Resource Properties | GuestUsagesResourceProperties |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.AzureActiveDirectory/guestUsages@2023-05-17-preview" |
GuestUsagesResourceProperties
| Name | Description | Value |
|---|---|---|
| tenantId | An identifier for the tenant for which the resource is being created | string |
GuestUsagesResourceTags
| Name | Description | Value |
|---|