azure-native.datadog.Monitor
Explore with Pulumi AI
API Version: 2021-03-01.
Create Monitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Monitor(name: string, args: MonitorArgs, opts?: CustomResourceOptions);
@overload
def Monitor(resource_name: str,
args: MonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Monitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
identity: Optional[IdentityPropertiesArgs] = None,
location: Optional[str] = None,
monitor_name: Optional[str] = None,
properties: Optional[MonitorPropertiesArgs] = None,
sku: Optional[ResourceSkuArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewMonitor(ctx *Context, name string, args MonitorArgs, opts ...ResourceOption) (*Monitor, error)
public Monitor(string name, MonitorArgs args, CustomResourceOptions? opts = null)
public Monitor(String name, MonitorArgs args)
public Monitor(String name, MonitorArgs args, CustomResourceOptions options)
type: azure-native:datadog:Monitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. MonitorArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. MonitorArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. MonitorArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. MonitorArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. MonitorArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var monitorResource = new AzureNative.Datadog.Monitor("monitorResource", new()
{
ResourceGroupName = "string",
Identity =
{
{ "type", "string" },
},
Location = "string",
MonitorName = "string",
Properties =
{
{ "datadogOrganizationProperties",
{
{ "apiKey", "string" },
{ "applicationKey", "string" },
{ "enterpriseAppId", "string" },
{ "linkingAuthCode", "string" },
{ "linkingClientId", "string" },
{ "redirectUri", "string" },
} },
{ "monitoringStatus", "string" },
{ "userInfo",
{
{ "emailAddress", "string" },
{ "name", "string" },
{ "phoneNumber", "string" },
} },
},
Sku =
{
{ "name", "string" },
},
Tags =
{
{ "string", "string" },
},
});
example, err := datadog.NewMonitor(ctx, "monitorResource", &datadog.MonitorArgs{
ResourceGroupName: "string",
Identity: map[string]interface{}{
"type": "string",
},
Location: "string",
MonitorName: "string",
Properties: map[string]interface{}{
"datadogOrganizationProperties": map[string]interface{}{
"apiKey": "string",
"applicationKey": "string",
"enterpriseAppId": "string",
"linkingAuthCode": "string",
"linkingClientId": "string",
"redirectUri": "string",
},
"monitoringStatus": "string",
"userInfo": map[string]interface{}{
"emailAddress": "string",
"name": "string",
"phoneNumber": "string",
},
},
Sku: map[string]interface{}{
"name": "string",
},
Tags: map[string]interface{}{
"string": "string",
},
})
var monitorResource = new Monitor("monitorResource", MonitorArgs.builder()
.resourceGroupName("string")
.identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.monitorName("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
monitor_resource = azure_native.datadog.Monitor("monitorResource",
resource_group_name=string,
identity={
type: string,
},
location=string,
monitor_name=string,
properties={
datadogOrganizationProperties: {
apiKey: string,
applicationKey: string,
enterpriseAppId: string,
linkingAuthCode: string,
linkingClientId: string,
redirectUri: string,
},
monitoringStatus: string,
userInfo: {
emailAddress: string,
name: string,
phoneNumber: string,
},
},
sku={
name: string,
},
tags={
string: string,
})
const monitorResource = new azure_native.datadog.Monitor("monitorResource", {
resourceGroupName: "string",
identity: {
type: "string",
},
location: "string",
monitorName: "string",
properties: {
datadogOrganizationProperties: {
apiKey: "string",
applicationKey: "string",
enterpriseAppId: "string",
linkingAuthCode: "string",
linkingClientId: "string",
redirectUri: "string",
},
monitoringStatus: "string",
userInfo: {
emailAddress: "string",
name: "string",
phoneNumber: "string",
},
},
sku: {
name: "string",
},
tags: {
string: "string",
},
});
type: azure-native:datadog:Monitor
properties:
identity:
type: string
location: string
monitorName: string
properties:
datadogOrganizationProperties:
apiKey: string
applicationKey: string
enterpriseAppId: string
linkingAuthCode: string
linkingClientId: string
redirectUri: string
monitoringStatus: string
userInfo:
emailAddress: string
name: string
phoneNumber: string
resourceGroupName: string
sku:
name: string
tags:
string: string
Monitor Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Monitor resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Identity
Pulumi.
Azure Native. Datadog. Inputs. Identity Properties - Location string
- Monitor
Name Changes to this property will trigger replacement.
- Monitor resource name
- Properties
Pulumi.
Azure Native. Datadog. Inputs. Monitor Properties - Properties specific to the monitor resource.
- Sku
Pulumi.
Azure Native. Datadog. Inputs. Resource Sku - Dictionary<string, string>
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Identity
Identity
Properties Args - Location string
- Monitor
Name Changes to this property will trigger replacement.
- Monitor resource name
- Properties
Monitor
Properties Args - Properties specific to the monitor resource.
- Sku
Resource
Sku Args - map[string]string
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- identity
Identity
Properties - location String
- monitor
Name Changes to this property will trigger replacement.
- Monitor resource name
- properties
Monitor
Properties - Properties specific to the monitor resource.
- sku
Resource
Sku - Map<String,String>
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- identity
Identity
Properties - location string
- monitor
Name Changes to this property will trigger replacement.
- Monitor resource name
- properties
Monitor
Properties - Properties specific to the monitor resource.
- sku
Resource
Sku - {[key: string]: string}
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- identity
Identity
Properties Args - location str
- monitor_
name Changes to this property will trigger replacement.
- Monitor resource name
- properties
Monitor
Properties Args - Properties specific to the monitor resource.
- sku
Resource
Sku Args - Mapping[str, str]
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- identity Property Map
- location String
- monitor
Name Changes to this property will trigger replacement.
- Monitor resource name
- properties Property Map
- Properties specific to the monitor resource.
- sku Property Map
- Map<String>
Outputs
All input properties are implicitly available as output properties. Additionally, the Monitor resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the monitor resource.
- System
Data Pulumi.Azure Native. Datadog. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the monitor resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the monitor resource.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the monitor resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the monitor resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the monitor resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the monitor resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the monitor resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the monitor resource.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the monitor resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the monitor resource.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the monitor resource.
Supporting Types
DatadogOrganizationProperties, DatadogOrganizationPropertiesArgs
- Api
Key string - Api key associated to the Datadog organization.
- Application
Key string - Application key associated to the Datadog organization.
- Enterprise
App stringId - The Id of the Enterprise App used for Single sign on.
- Linking
Auth stringCode - The auth code used to linking to an existing datadog organization.
- Linking
Client stringId - The client_id from an existing in exchange for an auth token to link organization.
- Redirect
Uri string - The redirect uri for linking.
- Api
Key string - Api key associated to the Datadog organization.
- Application
Key string - Application key associated to the Datadog organization.
- Enterprise
App stringId - The Id of the Enterprise App used for Single sign on.
- Linking
Auth stringCode - The auth code used to linking to an existing datadog organization.
- Linking
Client stringId - The client_id from an existing in exchange for an auth token to link organization.
- Redirect
Uri string - The redirect uri for linking.
- api
Key String - Api key associated to the Datadog organization.
- application
Key String - Application key associated to the Datadog organization.
- enterprise
App StringId - The Id of the Enterprise App used for Single sign on.
- linking
Auth StringCode - The auth code used to linking to an existing datadog organization.
- linking
Client StringId - The client_id from an existing in exchange for an auth token to link organization.
- redirect
Uri String - The redirect uri for linking.
- api
Key string - Api key associated to the Datadog organization.
- application
Key string - Application key associated to the Datadog organization.
- enterprise
App stringId - The Id of the Enterprise App used for Single sign on.
- linking
Auth stringCode - The auth code used to linking to an existing datadog organization.
- linking
Client stringId - The client_id from an existing in exchange for an auth token to link organization.
- redirect
Uri string - The redirect uri for linking.
- api_
key str - Api key associated to the Datadog organization.
- application_
key str - Application key associated to the Datadog organization.
- enterprise_
app_ strid - The Id of the Enterprise App used for Single sign on.
- linking_
auth_ strcode - The auth code used to linking to an existing datadog organization.
- linking_
client_ strid - The client_id from an existing in exchange for an auth token to link organization.
- redirect_
uri str - The redirect uri for linking.
- api
Key String - Api key associated to the Datadog organization.
- application
Key String - Application key associated to the Datadog organization.
- enterprise
App StringId - The Id of the Enterprise App used for Single sign on.
- linking
Auth StringCode - The auth code used to linking to an existing datadog organization.
- linking
Client StringId - The client_id from an existing in exchange for an auth token to link organization.
- redirect
Uri String - The redirect uri for linking.
DatadogOrganizationPropertiesResponse, DatadogOrganizationPropertiesResponseArgs
IdentityProperties, IdentityPropertiesArgs
- Type
string | Pulumi.
Azure Native. Datadog. Managed Identity Types - Identity type
- Type
string | Managed
Identity Types - Identity type
- type
String | Managed
Identity Types - Identity type
- type
string | Managed
Identity Types - Identity type
- type
str | Managed
Identity Types - Identity type
- type
String | "System
Assigned" | "User Assigned" - Identity type
IdentityPropertiesResponse, IdentityPropertiesResponseArgs
- Principal
Id This property is required. string - The identity ID.
- Tenant
Id This property is required. string - The tenant ID of resource.
- Type string
- Identity type
- Principal
Id This property is required. string - The identity ID.
- Tenant
Id This property is required. string - The tenant ID of resource.
- Type string
- Identity type
- principal
Id This property is required. String - The identity ID.
- tenant
Id This property is required. String - The tenant ID of resource.
- type String
- Identity type
- principal
Id This property is required. string - The identity ID.
- tenant
Id This property is required. string - The tenant ID of resource.
- type string
- Identity type
- principal_
id This property is required. str - The identity ID.
- tenant_
id This property is required. str - The tenant ID of resource.
- type str
- Identity type
- principal
Id This property is required. String - The identity ID.
- tenant
Id This property is required. String - The tenant ID of resource.
- type String
- Identity type
ManagedIdentityTypes, ManagedIdentityTypesArgs
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- Managed
Identity Types System Assigned - SystemAssigned
- Managed
Identity Types User Assigned - UserAssigned
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
MonitorProperties, MonitorPropertiesArgs
- Datadog
Organization Pulumi.Properties Azure Native. Datadog. Inputs. Datadog Organization Properties - Datadog organization properties
- Monitoring
Status string | Pulumi.Azure Native. Datadog. Monitoring Status - Flag specifying if the resource monitoring is enabled or disabled.
- User
Info Pulumi.Azure Native. Datadog. Inputs. User Info - User info
- Datadog
Organization DatadogProperties Organization Properties - Datadog organization properties
- Monitoring
Status string | MonitoringStatus - Flag specifying if the resource monitoring is enabled or disabled.
- User
Info UserInfo - User info
- datadog
Organization DatadogProperties Organization Properties - Datadog organization properties
- monitoring
Status String | MonitoringStatus - Flag specifying if the resource monitoring is enabled or disabled.
- user
Info UserInfo - User info
- datadog
Organization DatadogProperties Organization Properties - Datadog organization properties
- monitoring
Status string | MonitoringStatus - Flag specifying if the resource monitoring is enabled or disabled.
- user
Info UserInfo - User info
- datadog_
organization_ Datadogproperties Organization Properties - Datadog organization properties
- monitoring_
status str | MonitoringStatus - Flag specifying if the resource monitoring is enabled or disabled.
- user_
info UserInfo - User info
- datadog
Organization Property MapProperties - Datadog organization properties
- monitoring
Status String | "Enabled" | "Disabled" - Flag specifying if the resource monitoring is enabled or disabled.
- user
Info Property Map - User info
MonitorPropertiesResponse, MonitorPropertiesResponseArgs
- Liftr
Resource Category This property is required. string - Liftr
Resource Preference This property is required. int - The priority of the resource.
- Marketplace
Subscription Status This property is required. string - Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
- Provisioning
State This property is required. string - Datadog
Organization Pulumi.Properties Azure Native. Datadog. Inputs. Datadog Organization Properties Response - Datadog organization properties
- Monitoring
Status string - Flag specifying if the resource monitoring is enabled or disabled.
- User
Info Pulumi.Azure Native. Datadog. Inputs. User Info Response - User info
- Liftr
Resource Category This property is required. string - Liftr
Resource Preference This property is required. int - The priority of the resource.
- Marketplace
Subscription Status This property is required. string - Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
- Provisioning
State This property is required. string - Datadog
Organization DatadogProperties Organization Properties Response - Datadog organization properties
- Monitoring
Status string - Flag specifying if the resource monitoring is enabled or disabled.
- User
Info UserInfo Response - User info
- liftr
Resource Category This property is required. String - liftr
Resource Preference This property is required. Integer - The priority of the resource.
- marketplace
Subscription Status This property is required. String - Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
- provisioning
State This property is required. String - datadog
Organization DatadogProperties Organization Properties Response - Datadog organization properties
- monitoring
Status String - Flag specifying if the resource monitoring is enabled or disabled.
- user
Info UserInfo Response - User info
- liftr
Resource Category This property is required. string - liftr
Resource Preference This property is required. number - The priority of the resource.
- marketplace
Subscription Status This property is required. string - Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
- provisioning
State This property is required. string - datadog
Organization DatadogProperties Organization Properties Response - Datadog organization properties
- monitoring
Status string - Flag specifying if the resource monitoring is enabled or disabled.
- user
Info UserInfo Response - User info
- liftr_
resource_ category This property is required. str - liftr_
resource_ preference This property is required. int - The priority of the resource.
- marketplace_
subscription_ status This property is required. str - Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
- provisioning_
state This property is required. str - datadog_
organization_ Datadogproperties Organization Properties Response - Datadog organization properties
- monitoring_
status str - Flag specifying if the resource monitoring is enabled or disabled.
- user_
info UserInfo Response - User info
- liftr
Resource Category This property is required. String - liftr
Resource Preference This property is required. Number - The priority of the resource.
- marketplace
Subscription Status This property is required. String - Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
- provisioning
State This property is required. String - datadog
Organization Property MapProperties - Datadog organization properties
- monitoring
Status String - Flag specifying if the resource monitoring is enabled or disabled.
- user
Info Property Map - User info
MonitoringStatus, MonitoringStatusArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Monitoring
Status Enabled - Enabled
- Monitoring
Status Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
ResourceSku, ResourceSkuArgs
- Name
This property is required. string - Name of the SKU.
- Name
This property is required. string - Name of the SKU.
- name
This property is required. String - Name of the SKU.
- name
This property is required. string - Name of the SKU.
- name
This property is required. str - Name of the SKU.
- name
This property is required. String - Name of the SKU.
ResourceSkuResponse, ResourceSkuResponseArgs
- Name
This property is required. string - Name of the SKU.
- Name
This property is required. string - Name of the SKU.
- name
This property is required. String - Name of the SKU.
- name
This property is required. string - Name of the SKU.
- name
This property is required. str - Name of the SKU.
- name
This property is required. String - Name of the SKU.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserInfo, UserInfoArgs
- Email
Address string - Email of the user used by Datadog for contacting them if needed
- Name string
- Name of the user
- Phone
Number string - Phone number of the user used by Datadog for contacting them if needed
- Email
Address string - Email of the user used by Datadog for contacting them if needed
- Name string
- Name of the user
- Phone
Number string - Phone number of the user used by Datadog for contacting them if needed
- email
Address String - Email of the user used by Datadog for contacting them if needed
- name String
- Name of the user
- phone
Number String - Phone number of the user used by Datadog for contacting them if needed
- email
Address string - Email of the user used by Datadog for contacting them if needed
- name string
- Name of the user
- phone
Number string - Phone number of the user used by Datadog for contacting them if needed
- email_
address str - Email of the user used by Datadog for contacting them if needed
- name str
- Name of the user
- phone_
number str - Phone number of the user used by Datadog for contacting them if needed
- email
Address String - Email of the user used by Datadog for contacting them if needed
- name String
- Name of the user
- phone
Number String - Phone number of the user used by Datadog for contacting them if needed
UserInfoResponse, UserInfoResponseArgs
- Email
Address string - Email of the user used by Datadog for contacting them if needed
- Name string
- Name of the user
- Phone
Number string - Phone number of the user used by Datadog for contacting them if needed
- Email
Address string - Email of the user used by Datadog for contacting them if needed
- Name string
- Name of the user
- Phone
Number string - Phone number of the user used by Datadog for contacting them if needed
- email
Address String - Email of the user used by Datadog for contacting them if needed
- name String
- Name of the user
- phone
Number String - Phone number of the user used by Datadog for contacting them if needed
- email
Address string - Email of the user used by Datadog for contacting them if needed
- name string
- Name of the user
- phone
Number string - Phone number of the user used by Datadog for contacting them if needed
- email_
address str - Email of the user used by Datadog for contacting them if needed
- name str
- Name of the user
- phone_
number str - Phone number of the user used by Datadog for contacting them if needed
- email
Address String - Email of the user used by Datadog for contacting them if needed
- name String
- Name of the user
- phone
Number String - Phone number of the user used by Datadog for contacting them if needed
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:datadog:Monitor myMonitor /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0