The monitors resource type can be deployed to:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Logz/monitors resource, add the following JSON to your template.
{
"type": "Microsoft.Logz/monitors",
"apiVersion": "2022-01-01-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"identity": {
"type": "string"
},
"properties": {
"logzOrganizationProperties": {
"companyName": "string",
"enterpriseAppId": "string",
"singleSignOnUrl": "string"
},
"marketplaceSubscriptionStatus": "string",
"monitoringStatus": "string",
"planData": {
"billingCycle": "string",
"effectiveDate": "string",
"planDetails": "string",
"usageType": "string"
},
"userInfo": {
"emailAddress": "string",
"firstName": "string",
"lastName": "string",
"phoneNumber": "string"
}
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Logz/monitors' |
apiVersion | The resource api version | '2022-01-01-preview' |
name | The resource name | string (required) |
location | string (required) | |
tags | Dictionary of {string} | Dictionary of tag names and values. See Tags in templates |
identity | IdentityProperties | |
properties | Properties specific to the monitor resource. | MonitorProperties |
Name | Description | Value |
---|---|---|
type | 'SystemAssigned' 'UserAssigned' |
Name | Description | Value |
---|---|---|
logzOrganizationProperties | LogzOrganizationProperties | |
marketplaceSubscriptionStatus | Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. | 'Active' 'Suspended' |
monitoringStatus | Flag specifying if the resource monitoring is enabled or disabled. | 'Disabled' 'Enabled' |
planData | PlanData | |
userInfo | UserInfo |
Name | Description | Value |
---|---|---|
companyName | Name of the Logz organization. | string |
enterpriseAppId | The Id of the Enterprise App used for Single sign on. | string |
singleSignOnUrl | The login URL specific to this Logz Organization. | string |
Name | Description | Value |
---|---|---|
billingCycle | different billing cycles like MONTHLY/WEEKLY. this could be enum | string |
effectiveDate | date when plan was applied | string |
planDetails | plan id as published by Logz | string |
usageType | different usage type like PAYG/COMMITTED. this could be enum | string |
Name | Description | Value |
---|---|---|
emailAddress | Email of the user used by Logz for contacting them if needed | string |
firstName | First Name of the user | string |
lastName | Last Name of the user | string |
phoneNumber | Phone number of the user used by Logz for contacting them if needed | string |