Monitors - Get
Get a MonitorResource
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}?api-version=2021-09-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
monitor
|
path | True |
string |
Monitor resource name |
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
ARM operation completed successfully. |
|
Other Status Codes |
Common error response for all Azure Resource Manager APIs to return error details for failed operations. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Monitors_Get_Maximum |
Monitors_Get_Minimum |
Monitors_Get_MaximumSet_Gen
Sample request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor?api-version=2021-09-01
Sample response
{
"identity": {
"principalId": "4534676867978",
"tenantId": "23456789001",
"type": "SystemAssigned"
},
"properties": {
"monitoringStatus": "Enabled",
"marketplaceSubscriptionStatus": "Active",
"dynatraceEnvironmentProperties": {
"userId": "alice123",
"accountInfo": {
"accountId": "1234567890",
"regionId": "wus2"
},
"environmentInfo": {
"environmentId": "a23xcv456",
"ingestionKey": "1234567890",
"logsIngestionEndpoint": "https://dynatrace.com",
"landingURL": "https://a23xcv456.dynatrace.com"
},
"singleSignOnProperties": {
"singleSignOnState": "Enable",
"enterpriseAppId": "00000000-0000-0000-0000-000000000000",
"singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash",
"aadDomains": [
"mpliftrdt20210811outlook.onmicrosoft.com"
]
}
},
"userInfo": {
"firstName": "Alice",
"lastName": "Bobab",
"emailAddress": "alice@microsoft.com",
"phoneNumber": "123456",
"country": "westus2"
},
"planData": {
"usageType": "Committed",
"billingCycle": "Monthly",
"planDetails": "dynatraceapitestplan",
"effectiveDate": "2019-08-30T15:14:33+02:00"
},
"liftrResourceCategory": "Unknown",
"liftrResourcePreference": 28,
"provisioningState": "Accepted"
},
"systemData": {
"createdBy": "alice@microsoft.com",
"createdByType": "User",
"createdAt": "2021-07-16T04:25:21.040Z",
"lastModifiedBy": "alice@microsoft.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-07-16T04:25:21.040Z"
},
"tags": {
"Environment": "Dev"
},
"location": "West US 2",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
"name": "myMonitor",
"type": "Dynatrace.Observability/monitors"
}
Monitors_Get_MinimumSet_Gen
Sample request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor?api-version=2021-09-01
Sample response
{
"properties": {},
"location": "West US 2"
}
Definitions
Name | Description |
---|---|
Account |
Dynatrace Account Information |
created |
The type of identity that created the resource. |
Dynatrace |
Properties of the Dynatrace environment. |
Dynatrace |
The details of a Dynatrace single sign-on. |
Environment |
Dynatrace Environment Information |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Identity |
The properties of the managed service identities assigned to this resource. |
Liftr |
Liftr resource category |
Managed |
The kind of managed identity assigned to this resource. |
Marketplace |
Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. |
Monitoring |
Flag specifying if the resource monitoring is enabled or disabled. |
Monitor |
Dynatrace Monitor Resource |
Plan |
Billing plan information. |
Provisioning |
Provisioning state of the monitoring resource |
Single |
Various states of the SSO resource |
system |
Metadata pertaining to creation and last modification of the resource. |
User |
A managed identity assigned by the user. |
User |
User info. |
AccountInfo
Dynatrace Account Information
Name | Type | Description |
---|---|---|
accountId |
string |
Account Id of the account this environment is linked to |
regionId |
string |
Region in which the account is created |
createdByType
The type of identity that created the resource.
Value | Description |
---|---|
User | |
Application | |
ManagedIdentity | |
Key |
DynatraceEnvironmentProperties
Properties of the Dynatrace environment.
Name | Type | Description |
---|---|---|
accountInfo |
Dynatrace Account Information |
|
environmentInfo |
Dynatrace Environment Information |
|
singleSignOnProperties |
The details of a Dynatrace single sign-on. |
|
userId |
string |
User id |
DynatraceSingleSignOnProperties
The details of a Dynatrace single sign-on.
Name | Type | Description |
---|---|---|
aadDomains |
string[] |
array of Aad(azure active directory) domains |
enterpriseAppId |
string |
Version of the Dynatrace agent installed on the VM. |
provisioningState |
Provisioning state of the resource. |
|
singleSignOnState |
State of Single Sign On |
|
singleSignOnUrl |
string |
The login URL specific to this Dynatrace Environment |
EnvironmentInfo
Dynatrace Environment Information
Name | Type | Description |
---|---|---|
environmentId |
string |
Id of the environment created |
ingestionKey |
string |
Ingestion key of the environment |
landingURL |
string |
Landing URL for Dynatrace environment |
logsIngestionEndpoint |
string |
Ingestion endpoint used for sending logs |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
IdentityProperties
The properties of the managed service identities assigned to this resource.
Name | Type | Description |
---|---|---|
principalId |
string |
The active directory identifier of this principal. |
tenantId |
string |
The Active Directory tenant id of the principal. |
type |
The type of managed identity assigned to this resource. |
|
userAssignedIdentities |
<string,
User |
The identities assigned to this resource by the user. |
LiftrResourceCategories
Liftr resource category
Value | Description |
---|---|
Unknown | |
MonitorLogs |
ManagedIdentityType
The kind of managed identity assigned to this resource.
Value | Description |
---|---|
SystemAssigned | |
UserAssigned | |
SystemAndUserAssigned |
MarketplaceSubscriptionStatus
Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
Value | Description |
---|---|
Active | |
Suspended |
MonitoringStatus
Flag specifying if the resource monitoring is enabled or disabled.
Value | Description |
---|---|
Enabled | |
Disabled |
MonitorResource
Dynatrace Monitor Resource
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
identity |
The managed service identities assigned to this resource. |
|
location |
string |
The geo-location where the resource lives |
name |
string |
The name of the resource |
properties.dynatraceEnvironmentProperties |
Properties of the Dynatrace environment. |
|
properties.liftrResourceCategory |
Liftr Resource category. |
|
properties.liftrResourcePreference |
integer (int32) |
The priority of the resource. |
properties.marketplaceSubscriptionStatus |
Marketplace subscription status. |
|
properties.monitoringStatus |
Status of the monitor. |
|
properties.planData |
Billing plan information. |
|
properties.provisioningState |
Provisioning state of the resource. |
|
properties.userInfo |
User info. |
|
systemData |
System metadata for this resource. |
|
tags |
object |
Resource tags. |
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
PlanData
Billing plan information.
Name | Type | Description |
---|---|---|
billingCycle |
string |
different billing cycles like MONTHLY/WEEKLY. this could be enum |
effectiveDate |
string (date-time) |
date when plan was applied |
planDetails |
string |
plan id as published by Dynatrace |
usageType |
string |
different usage type like PAYG/COMMITTED. this could be enum |
ProvisioningState
Provisioning state of the monitoring resource
Value | Description |
---|---|
Accepted | |
Creating | |
Updating | |
Deleting | |
Succeeded | |
Failed | |
Canceled | |
Deleted | |
NotSpecified |
SingleSignOnStates
Various states of the SSO resource
Value | Description |
---|---|
Initial | |
Enable | |
Disable | |
Existing |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string (date-time) |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string (date-time) |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |
UserAssignedIdentity
A managed identity assigned by the user.
Name | Type | Description |
---|---|---|
clientId |
string |
The active directory client identifier for this principal. |
principalId |
string |
The active directory identifier for this principal. |
UserInfo
User info.
Name | Type | Description |
---|---|---|
country |
string |
Country of the user |
emailAddress |
string pattern: ^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$ |
Email of the user used by Dynatrace for contacting them if needed |
firstName |
string |
First Name of the user |
lastName |
string |
Last Name of the user |
phoneNumber |
string maxLength: 40 |
Phone number of the user used by Dynatrace for contacting them if needed |