1. Packages
  2. Azure Native
  3. API Docs
  4. datadog
  5. Monitor
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.21.1 published on Wednesday, Dec 6, 2023 by Pulumi

azure-native.datadog.Monitor

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.21.1 published on Wednesday, Dec 6, 2023 by Pulumi

    Azure REST API version: 2022-06-01. Prior API version in Azure Native 1.x: 2021-03-01.

    Other available API versions: 2022-08-01, 2023-01-01.

    Example Usage

    Monitors_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var monitor = new AzureNative.Datadog.Monitor("monitor", new()
        {
            MonitorName = "myMonitor",
            ResourceGroupName = "myResourceGroup",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/datadog/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datadog.NewMonitor(ctx, "monitor", &datadog.MonitorArgs{
    			MonitorName:       pulumi.String("myMonitor"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.datadog.Monitor;
    import com.pulumi.azurenative.datadog.MonitorArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var monitor = new Monitor("monitor", MonitorArgs.builder()        
                .monitorName("myMonitor")
                .resourceGroupName("myResourceGroup")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    monitor = azure_native.datadog.Monitor("monitor",
        monitor_name="myMonitor",
        resource_group_name="myResourceGroup")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const monitor = new azure_native.datadog.Monitor("monitor", {
        monitorName: "myMonitor",
        resourceGroupName: "myResourceGroup",
    });
    
    resources:
      monitor:
        type: azure-native:datadog:Monitor
        properties:
          monitorName: myMonitor
          resourceGroupName: myResourceGroup
    

    Create Monitor Resource

    new Monitor(name: string, args: MonitorArgs, opts?: CustomResourceOptions);
    @overload
    def Monitor(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                identity: Optional[IdentityPropertiesArgs] = None,
                location: Optional[str] = None,
                monitor_name: Optional[str] = None,
                properties: Optional[MonitorPropertiesArgs] = None,
                resource_group_name: Optional[str] = None,
                sku: Optional[ResourceSkuArgs] = None,
                tags: Optional[Mapping[str, str]] = None)
    @overload
    def Monitor(resource_name: str,
                args: MonitorArgs,
                opts: Optional[ResourceOptions] = 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.
    
    
    name string
    The unique name of the resource.
    args MonitorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args MonitorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MonitorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MonitorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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

    The Monitor resource accepts the following input properties:

    ResourceGroupName string

    The name of the resource group. The name is case insensitive.

    Identity Pulumi.AzureNative.Datadog.Inputs.IdentityProperties
    Location string
    MonitorName string

    Monitor resource name

    Properties Pulumi.AzureNative.Datadog.Inputs.MonitorProperties

    Properties specific to the monitor resource.

    Sku Pulumi.AzureNative.Datadog.Inputs.ResourceSku
    Tags Dictionary<string, string>
    ResourceGroupName string

    The name of the resource group. The name is case insensitive.

    Identity IdentityPropertiesArgs
    Location string
    MonitorName string

    Monitor resource name

    Properties MonitorPropertiesArgs

    Properties specific to the monitor resource.

    Sku ResourceSkuArgs
    Tags map[string]string
    resourceGroupName String

    The name of the resource group. The name is case insensitive.

    identity IdentityProperties
    location String
    monitorName String

    Monitor resource name

    properties MonitorProperties

    Properties specific to the monitor resource.

    sku ResourceSku
    tags Map<String,String>
    resourceGroupName string

    The name of the resource group. The name is case insensitive.

    identity IdentityProperties
    location string
    monitorName string

    Monitor resource name

    properties MonitorProperties

    Properties specific to the monitor resource.

    sku ResourceSku
    tags {[key: string]: string}
    resource_group_name str

    The name of the resource group. The name is case insensitive.

    identity IdentityPropertiesArgs
    location str
    monitor_name str

    Monitor resource name

    properties MonitorPropertiesArgs

    Properties specific to the monitor resource.

    sku ResourceSkuArgs
    tags Mapping[str, str]
    resourceGroupName String

    The name of the resource group. The name is case insensitive.

    identity Property Map
    location String
    monitorName String

    Monitor resource name

    properties Property Map

    Properties specific to the monitor resource.

    sku Property Map
    tags 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.

    SystemData Pulumi.AzureNative.Datadog.Outputs.SystemDataResponse

    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.

    SystemData SystemDataResponse

    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.

    systemData SystemDataResponse

    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.

    systemData SystemDataResponse

    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 SystemDataResponse

    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.

    systemData Property Map

    Metadata pertaining to creation and last modification of the resource.

    type String

    The type of the monitor resource.

    Supporting Types

    DatadogOrganizationProperties, DatadogOrganizationPropertiesArgs

    ApiKey string

    Api key associated to the Datadog organization.

    ApplicationKey string

    Application key associated to the Datadog organization.

    EnterpriseAppId string

    The Id of the Enterprise App used for Single sign on.

    Id string

    Id of the Datadog organization.

    LinkingAuthCode string

    The auth code used to linking to an existing datadog organization.

    LinkingClientId string

    The client_id from an existing in exchange for an auth token to link organization.

    Name string

    Name of the Datadog organization.

    RedirectUri string

    The redirect uri for linking.

    ApiKey string

    Api key associated to the Datadog organization.

    ApplicationKey string

    Application key associated to the Datadog organization.

    EnterpriseAppId string

    The Id of the Enterprise App used for Single sign on.

    Id string

    Id of the Datadog organization.

    LinkingAuthCode string

    The auth code used to linking to an existing datadog organization.

    LinkingClientId string

    The client_id from an existing in exchange for an auth token to link organization.

    Name string

    Name of the Datadog organization.

    RedirectUri string

    The redirect uri for linking.

    apiKey String

    Api key associated to the Datadog organization.

    applicationKey String

    Application key associated to the Datadog organization.

    enterpriseAppId String

    The Id of the Enterprise App used for Single sign on.

    id String

    Id of the Datadog organization.

    linkingAuthCode String

    The auth code used to linking to an existing datadog organization.

    linkingClientId String

    The client_id from an existing in exchange for an auth token to link organization.

    name String

    Name of the Datadog organization.

    redirectUri String

    The redirect uri for linking.

    apiKey string

    Api key associated to the Datadog organization.

    applicationKey string

    Application key associated to the Datadog organization.

    enterpriseAppId string

    The Id of the Enterprise App used for Single sign on.

    id string

    Id of the Datadog organization.

    linkingAuthCode string

    The auth code used to linking to an existing datadog organization.

    linkingClientId string

    The client_id from an existing in exchange for an auth token to link organization.

    name string

    Name of the Datadog organization.

    redirectUri 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_id str

    The Id of the Enterprise App used for Single sign on.

    id str

    Id of the Datadog organization.

    linking_auth_code str

    The auth code used to linking to an existing datadog organization.

    linking_client_id str

    The client_id from an existing in exchange for an auth token to link organization.

    name str

    Name of the Datadog organization.

    redirect_uri str

    The redirect uri for linking.

    apiKey String

    Api key associated to the Datadog organization.

    applicationKey String

    Application key associated to the Datadog organization.

    enterpriseAppId String

    The Id of the Enterprise App used for Single sign on.

    id String

    Id of the Datadog organization.

    linkingAuthCode String

    The auth code used to linking to an existing datadog organization.

    linkingClientId String

    The client_id from an existing in exchange for an auth token to link organization.

    name String

    Name of the Datadog organization.

    redirectUri String

    The redirect uri for linking.

    DatadogOrganizationPropertiesResponse, DatadogOrganizationPropertiesResponseArgs

    Id string

    Id of the Datadog organization.

    Name string

    Name of the Datadog organization.

    Id string

    Id of the Datadog organization.

    Name string

    Name of the Datadog organization.

    id String

    Id of the Datadog organization.

    name String

    Name of the Datadog organization.

    id string

    Id of the Datadog organization.

    name string

    Name of the Datadog organization.

    id str

    Id of the Datadog organization.

    name str

    Name of the Datadog organization.

    id String

    Id of the Datadog organization.

    name String

    Name of the Datadog organization.

    IdentityProperties, IdentityPropertiesArgs

    Type string | ManagedIdentityTypes

    Identity type

    type String | ManagedIdentityTypes

    Identity type

    type string | ManagedIdentityTypes

    Identity type

    type str | ManagedIdentityTypes

    Identity type

    IdentityPropertiesResponse, IdentityPropertiesResponseArgs

    PrincipalId string

    The identity ID.

    TenantId string

    The tenant ID of resource.

    Type string

    Identity type

    PrincipalId string

    The identity ID.

    TenantId string

    The tenant ID of resource.

    Type string

    Identity type

    principalId String

    The identity ID.

    tenantId String

    The tenant ID of resource.

    type String

    Identity type

    principalId string

    The identity ID.

    tenantId string

    The tenant ID of resource.

    type string

    Identity type

    principal_id str

    The identity ID.

    tenant_id str

    The tenant ID of resource.

    type str

    Identity type

    principalId String

    The identity ID.

    tenantId String

    The tenant ID of resource.

    type String

    Identity type

    ManagedIdentityTypes, ManagedIdentityTypesArgs

    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    ManagedIdentityTypesSystemAssigned
    SystemAssigned
    ManagedIdentityTypesUserAssigned
    UserAssigned
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SYSTEM_ASSIGNED
    SystemAssigned
    USER_ASSIGNED
    UserAssigned
    "SystemAssigned"
    SystemAssigned
    "UserAssigned"
    UserAssigned

    MonitorProperties, MonitorPropertiesArgs

    DatadogOrganizationProperties DatadogOrganizationProperties

    Datadog organization properties

    MonitoringStatus string | MonitoringStatus

    Flag specifying if the resource monitoring is enabled or disabled.

    UserInfo UserInfo

    User info

    datadogOrganizationProperties DatadogOrganizationProperties

    Datadog organization properties

    monitoringStatus String | MonitoringStatus

    Flag specifying if the resource monitoring is enabled or disabled.

    userInfo UserInfo

    User info

    datadogOrganizationProperties DatadogOrganizationProperties

    Datadog organization properties

    monitoringStatus string | MonitoringStatus

    Flag specifying if the resource monitoring is enabled or disabled.

    userInfo UserInfo

    User info

    datadog_organization_properties DatadogOrganizationProperties

    Datadog organization properties

    monitoring_status str | MonitoringStatus

    Flag specifying if the resource monitoring is enabled or disabled.

    user_info UserInfo

    User info

    datadogOrganizationProperties Property Map

    Datadog organization properties

    monitoringStatus String | "Enabled" | "Disabled"

    Flag specifying if the resource monitoring is enabled or disabled.

    userInfo Property Map

    User info

    MonitorPropertiesResponse, MonitorPropertiesResponseArgs

    LiftrResourceCategory string
    LiftrResourcePreference int

    The priority of the resource.

    MarketplaceSubscriptionStatus string

    Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.

    ProvisioningState string
    DatadogOrganizationProperties Pulumi.AzureNative.Datadog.Inputs.DatadogOrganizationPropertiesResponse

    Datadog organization properties

    MonitoringStatus string

    Flag specifying if the resource monitoring is enabled or disabled.

    UserInfo Pulumi.AzureNative.Datadog.Inputs.UserInfoResponse

    User info

    LiftrResourceCategory string
    LiftrResourcePreference int

    The priority of the resource.

    MarketplaceSubscriptionStatus string

    Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.

    ProvisioningState string
    DatadogOrganizationProperties DatadogOrganizationPropertiesResponse

    Datadog organization properties

    MonitoringStatus string

    Flag specifying if the resource monitoring is enabled or disabled.

    UserInfo UserInfoResponse

    User info

    liftrResourceCategory String
    liftrResourcePreference Integer

    The priority of the resource.

    marketplaceSubscriptionStatus String

    Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.

    provisioningState String
    datadogOrganizationProperties DatadogOrganizationPropertiesResponse

    Datadog organization properties

    monitoringStatus String

    Flag specifying if the resource monitoring is enabled or disabled.

    userInfo UserInfoResponse

    User info

    liftrResourceCategory string
    liftrResourcePreference number

    The priority of the resource.

    marketplaceSubscriptionStatus string

    Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.

    provisioningState string
    datadogOrganizationProperties DatadogOrganizationPropertiesResponse

    Datadog organization properties

    monitoringStatus string

    Flag specifying if the resource monitoring is enabled or disabled.

    userInfo UserInfoResponse

    User info

    liftr_resource_category str
    liftr_resource_preference int

    The priority of the resource.

    marketplace_subscription_status 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 str
    datadog_organization_properties DatadogOrganizationPropertiesResponse

    Datadog organization properties

    monitoring_status str

    Flag specifying if the resource monitoring is enabled or disabled.

    user_info UserInfoResponse

    User info

    liftrResourceCategory String
    liftrResourcePreference Number

    The priority of the resource.

    marketplaceSubscriptionStatus String

    Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.

    provisioningState String
    datadogOrganizationProperties Property Map

    Datadog organization properties

    monitoringStatus String

    Flag specifying if the resource monitoring is enabled or disabled.

    userInfo Property Map

    User info

    MonitoringStatus, MonitoringStatusArgs

    Enabled
    Enabled
    Disabled
    Disabled
    MonitoringStatusEnabled
    Enabled
    MonitoringStatusDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    ResourceSku, ResourceSkuArgs

    Name string

    Name of the SKU.

    Name string

    Name of the SKU.

    name String

    Name of the SKU.

    name string

    Name of the SKU.

    name str

    Name of the SKU.

    name String

    Name of the SKU.

    ResourceSkuResponse, ResourceSkuResponseArgs

    Name string

    Name of the SKU.

    Name string

    Name of the SKU.

    name String

    Name of the SKU.

    name string

    Name of the SKU.

    name str

    Name of the SKU.

    name String

    Name of the SKU.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string

    The type of identity that created the resource.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string

    The type of identity that last modified the resource.

    CreatedAt string

    The timestamp of resource creation (UTC).

    CreatedBy string

    The identity that created the resource.

    CreatedByType string

    The type of identity that created the resource.

    LastModifiedAt string

    The timestamp of resource last modification (UTC)

    LastModifiedBy string

    The identity that last modified the resource.

    LastModifiedByType string

    The type of identity that last modified the resource.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String

    The type of identity that created the resource.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String

    The type of identity that last modified the resource.

    createdAt string

    The timestamp of resource creation (UTC).

    createdBy string

    The identity that created the resource.

    createdByType string

    The type of identity that created the resource.

    lastModifiedAt string

    The timestamp of resource last modification (UTC)

    lastModifiedBy string

    The identity that last modified the resource.

    lastModifiedByType string

    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_type str

    The type of identity that created the resource.

    last_modified_at str

    The timestamp of resource last modification (UTC)

    last_modified_by str

    The identity that last modified the resource.

    last_modified_by_type str

    The type of identity that last modified the resource.

    createdAt String

    The timestamp of resource creation (UTC).

    createdBy String

    The identity that created the resource.

    createdByType String

    The type of identity that created the resource.

    lastModifiedAt String

    The timestamp of resource last modification (UTC)

    lastModifiedBy String

    The identity that last modified the resource.

    lastModifiedByType String

    The type of identity that last modified the resource.

    UserInfo, UserInfoArgs

    EmailAddress string

    Email of the user used by Datadog for contacting them if needed

    Name string

    Name of the user

    PhoneNumber string

    Phone number of the user used by Datadog for contacting them if needed

    EmailAddress string

    Email of the user used by Datadog for contacting them if needed

    Name string

    Name of the user

    PhoneNumber string

    Phone number of the user used by Datadog for contacting them if needed

    emailAddress String

    Email of the user used by Datadog for contacting them if needed

    name String

    Name of the user

    phoneNumber String

    Phone number of the user used by Datadog for contacting them if needed

    emailAddress string

    Email of the user used by Datadog for contacting them if needed

    name string

    Name of the user

    phoneNumber 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

    emailAddress String

    Email of the user used by Datadog for contacting them if needed

    name String

    Name of the user

    phoneNumber String

    Phone number of the user used by Datadog for contacting them if needed

    UserInfoResponse, UserInfoResponseArgs

    EmailAddress string

    Email of the user used by Datadog for contacting them if needed

    Name string

    Name of the user

    PhoneNumber string

    Phone number of the user used by Datadog for contacting them if needed

    EmailAddress string

    Email of the user used by Datadog for contacting them if needed

    Name string

    Name of the user

    PhoneNumber string

    Phone number of the user used by Datadog for contacting them if needed

    emailAddress String

    Email of the user used by Datadog for contacting them if needed

    name String

    Name of the user

    phoneNumber String

    Phone number of the user used by Datadog for contacting them if needed

    emailAddress string

    Email of the user used by Datadog for contacting them if needed

    name string

    Name of the user

    phoneNumber 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

    emailAddress String

    Email of the user used by Datadog for contacting them if needed

    name String

    Name of the user

    phoneNumber 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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.21.1 published on Wednesday, Dec 6, 2023 by Pulumi