datadog

package
v6.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	pulumi.CustomResourceState

	// A `datadogOrganization` block as defined below.
	DatadogOrganization MonitorDatadogOrganizationOutput `pulumi:"datadogOrganization"`
	// A `identity` block as defined below.
	Identity MonitorIdentityPtrOutput `pulumi:"identity"`
	// The Azure Region where the Datadog Monitor should exist. Changing this forces a new Datadog Monitor to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
	MarketplaceSubscriptionStatus pulumi.StringOutput `pulumi:"marketplaceSubscriptionStatus"`
	// Is monitoring enabled? Defaults to `true`.
	MonitoringEnabled pulumi.BoolPtrOutput `pulumi:"monitoringEnabled"`
	// The name of the user that will be associated with the Datadog Monitor. Changing this forces a new Datadog Monitor to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Datadog Monitor should exist. Changing this forces a new Datadog Monitor to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The name which should be used for this sku.
	SkuName pulumi.StringOutput `pulumi:"skuName"`
	// A mapping of tags which should be assigned to the Datadog Monitor.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A `user` block as defined below.
	User MonitorUserOutput `pulumi:"user"`
}

Manages a datadog Monitor.

## Example Usage

### Monitor creation with linking to Datadog organization

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/datadog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-datadog"),
			Location: pulumi.String("West US 2"),
		})
		if err != nil {
			return err
		}
		_, err = datadog.NewMonitor(ctx, "example", &datadog.MonitorArgs{
			Name:              pulumi.String("example-monitor"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			DatadogOrganization: &datadog.MonitorDatadogOrganizationArgs{
				ApiKey:         pulumi.String("XXXX"),
				ApplicationKey: pulumi.String("XXXX"),
			},
			User: &datadog.MonitorUserArgs{
				Name:  pulumi.String("Example"),
				Email: pulumi.String("abc@xyz.com"),
			},
			SkuName: pulumi.String("Linked"),
			Identity: &datadog.MonitorIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Role Assignment

To enable metrics flow, perform role assignment on the identity created above. `Monitoring reader(43d0d8ad-25c7-4714-9337-8ba259a9fe05)` role is required .

### Role assignment on the monitor created

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil)
		if err != nil {
			return err
		}
		monitoringReader, err := authorization.LookupRoleDefinition(ctx, &authorization.LookupRoleDefinitionArgs{
			Name: pulumi.StringRef("Monitoring Reader"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = authorization.NewAssignment(ctx, "example", &authorization.AssignmentArgs{
			Scope:            pulumi.String(primary.Id),
			RoleDefinitionId: pulumi.String(monitoringReader.RoleDefinitionId),
			PrincipalId:      pulumi.Any(exampleAzurermDatadogMonitor.Identity[0].PrincipalId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Datadog Monitors can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:datadog/monitor:Monitor example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Datadog/monitors/monitor1 ```

func GetMonitor

func GetMonitor(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MonitorState, opts ...pulumi.ResourceOption) (*Monitor, error)

GetMonitor gets an existing Monitor resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMonitor

func NewMonitor(ctx *pulumi.Context,
	name string, args *MonitorArgs, opts ...pulumi.ResourceOption) (*Monitor, error)

NewMonitor registers a new resource with the given unique name, arguments, and options.

func (*Monitor) ElementType

func (*Monitor) ElementType() reflect.Type

func (*Monitor) ToMonitorOutput

func (i *Monitor) ToMonitorOutput() MonitorOutput

func (*Monitor) ToMonitorOutputWithContext

func (i *Monitor) ToMonitorOutputWithContext(ctx context.Context) MonitorOutput

type MonitorArgs

type MonitorArgs struct {
	// A `datadogOrganization` block as defined below.
	DatadogOrganization MonitorDatadogOrganizationInput
	// A `identity` block as defined below.
	Identity MonitorIdentityPtrInput
	// The Azure Region where the Datadog Monitor should exist. Changing this forces a new Datadog Monitor to be created.
	Location pulumi.StringPtrInput
	// Is monitoring enabled? Defaults to `true`.
	MonitoringEnabled pulumi.BoolPtrInput
	// The name of the user that will be associated with the Datadog Monitor. Changing this forces a new Datadog Monitor to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Datadog Monitor should exist. Changing this forces a new Datadog Monitor to be created.
	ResourceGroupName pulumi.StringInput
	// The name which should be used for this sku.
	SkuName pulumi.StringInput
	// A mapping of tags which should be assigned to the Datadog Monitor.
	Tags pulumi.StringMapInput
	// A `user` block as defined below.
	User MonitorUserInput
}

The set of arguments for constructing a Monitor resource.

func (MonitorArgs) ElementType

func (MonitorArgs) ElementType() reflect.Type

type MonitorArray

type MonitorArray []MonitorInput

func (MonitorArray) ElementType

func (MonitorArray) ElementType() reflect.Type

func (MonitorArray) ToMonitorArrayOutput

func (i MonitorArray) ToMonitorArrayOutput() MonitorArrayOutput

func (MonitorArray) ToMonitorArrayOutputWithContext

func (i MonitorArray) ToMonitorArrayOutputWithContext(ctx context.Context) MonitorArrayOutput

type MonitorArrayInput

type MonitorArrayInput interface {
	pulumi.Input

	ToMonitorArrayOutput() MonitorArrayOutput
	ToMonitorArrayOutputWithContext(context.Context) MonitorArrayOutput
}

MonitorArrayInput is an input type that accepts MonitorArray and MonitorArrayOutput values. You can construct a concrete instance of `MonitorArrayInput` via:

MonitorArray{ MonitorArgs{...} }

type MonitorArrayOutput

type MonitorArrayOutput struct{ *pulumi.OutputState }

func (MonitorArrayOutput) ElementType

func (MonitorArrayOutput) ElementType() reflect.Type

func (MonitorArrayOutput) Index

func (MonitorArrayOutput) ToMonitorArrayOutput

func (o MonitorArrayOutput) ToMonitorArrayOutput() MonitorArrayOutput

func (MonitorArrayOutput) ToMonitorArrayOutputWithContext

func (o MonitorArrayOutput) ToMonitorArrayOutputWithContext(ctx context.Context) MonitorArrayOutput

type MonitorDatadogOrganization

type MonitorDatadogOrganization struct {
	// Api key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.
	ApiKey string `pulumi:"apiKey"`
	// Application key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.
	ApplicationKey string `pulumi:"applicationKey"`
	// The ID of the enterprise_app. Changing this forces a new resource to be created.
	EnterpriseAppId *string `pulumi:"enterpriseAppId"`
	// The ID of the Datadog Monitor.
	Id *string `pulumi:"id"`
	// The auth code used to linking to an existing Datadog organization. Changing this forces a new Datadog Monitor to be created.
	LinkingAuthCode *string `pulumi:"linkingAuthCode"`
	// The ID of the linking_client. Changing this forces a new Datadog Monitor to be created.
	LinkingClientId *string `pulumi:"linkingClientId"`
	// The name of the user that will be associated with the Datadog Monitor. Changing this forces a new Datadog Monitor to be created.
	Name *string `pulumi:"name"`
	// The redirect uri for linking. Changing this forces a new Datadog Monitor to be created.
	RedirectUri *string `pulumi:"redirectUri"`
}

type MonitorDatadogOrganizationArgs

type MonitorDatadogOrganizationArgs struct {
	// Api key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.
	ApiKey pulumi.StringInput `pulumi:"apiKey"`
	// Application key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.
	ApplicationKey pulumi.StringInput `pulumi:"applicationKey"`
	// The ID of the enterprise_app. Changing this forces a new resource to be created.
	EnterpriseAppId pulumi.StringPtrInput `pulumi:"enterpriseAppId"`
	// The ID of the Datadog Monitor.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The auth code used to linking to an existing Datadog organization. Changing this forces a new Datadog Monitor to be created.
	LinkingAuthCode pulumi.StringPtrInput `pulumi:"linkingAuthCode"`
	// The ID of the linking_client. Changing this forces a new Datadog Monitor to be created.
	LinkingClientId pulumi.StringPtrInput `pulumi:"linkingClientId"`
	// The name of the user that will be associated with the Datadog Monitor. Changing this forces a new Datadog Monitor to be created.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The redirect uri for linking. Changing this forces a new Datadog Monitor to be created.
	RedirectUri pulumi.StringPtrInput `pulumi:"redirectUri"`
}

func (MonitorDatadogOrganizationArgs) ElementType

func (MonitorDatadogOrganizationArgs) ToMonitorDatadogOrganizationOutput

func (i MonitorDatadogOrganizationArgs) ToMonitorDatadogOrganizationOutput() MonitorDatadogOrganizationOutput

func (MonitorDatadogOrganizationArgs) ToMonitorDatadogOrganizationOutputWithContext

func (i MonitorDatadogOrganizationArgs) ToMonitorDatadogOrganizationOutputWithContext(ctx context.Context) MonitorDatadogOrganizationOutput

func (MonitorDatadogOrganizationArgs) ToMonitorDatadogOrganizationPtrOutput

func (i MonitorDatadogOrganizationArgs) ToMonitorDatadogOrganizationPtrOutput() MonitorDatadogOrganizationPtrOutput

func (MonitorDatadogOrganizationArgs) ToMonitorDatadogOrganizationPtrOutputWithContext

func (i MonitorDatadogOrganizationArgs) ToMonitorDatadogOrganizationPtrOutputWithContext(ctx context.Context) MonitorDatadogOrganizationPtrOutput

type MonitorDatadogOrganizationInput

type MonitorDatadogOrganizationInput interface {
	pulumi.Input

	ToMonitorDatadogOrganizationOutput() MonitorDatadogOrganizationOutput
	ToMonitorDatadogOrganizationOutputWithContext(context.Context) MonitorDatadogOrganizationOutput
}

MonitorDatadogOrganizationInput is an input type that accepts MonitorDatadogOrganizationArgs and MonitorDatadogOrganizationOutput values. You can construct a concrete instance of `MonitorDatadogOrganizationInput` via:

MonitorDatadogOrganizationArgs{...}

type MonitorDatadogOrganizationOutput

type MonitorDatadogOrganizationOutput struct{ *pulumi.OutputState }

func (MonitorDatadogOrganizationOutput) ApiKey

Api key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.

func (MonitorDatadogOrganizationOutput) ApplicationKey

Application key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.

func (MonitorDatadogOrganizationOutput) ElementType

func (MonitorDatadogOrganizationOutput) EnterpriseAppId

The ID of the enterprise_app. Changing this forces a new resource to be created.

func (MonitorDatadogOrganizationOutput) Id

The ID of the Datadog Monitor.

func (MonitorDatadogOrganizationOutput) LinkingAuthCode

The auth code used to linking to an existing Datadog organization. Changing this forces a new Datadog Monitor to be created.

func (MonitorDatadogOrganizationOutput) LinkingClientId

The ID of the linking_client. Changing this forces a new Datadog Monitor to be created.

func (MonitorDatadogOrganizationOutput) Name

The name of the user that will be associated with the Datadog Monitor. Changing this forces a new Datadog Monitor to be created.

func (MonitorDatadogOrganizationOutput) RedirectUri

The redirect uri for linking. Changing this forces a new Datadog Monitor to be created.

func (MonitorDatadogOrganizationOutput) ToMonitorDatadogOrganizationOutput

func (o MonitorDatadogOrganizationOutput) ToMonitorDatadogOrganizationOutput() MonitorDatadogOrganizationOutput

func (MonitorDatadogOrganizationOutput) ToMonitorDatadogOrganizationOutputWithContext

func (o MonitorDatadogOrganizationOutput) ToMonitorDatadogOrganizationOutputWithContext(ctx context.Context) MonitorDatadogOrganizationOutput

func (MonitorDatadogOrganizationOutput) ToMonitorDatadogOrganizationPtrOutput

func (o MonitorDatadogOrganizationOutput) ToMonitorDatadogOrganizationPtrOutput() MonitorDatadogOrganizationPtrOutput

func (MonitorDatadogOrganizationOutput) ToMonitorDatadogOrganizationPtrOutputWithContext

func (o MonitorDatadogOrganizationOutput) ToMonitorDatadogOrganizationPtrOutputWithContext(ctx context.Context) MonitorDatadogOrganizationPtrOutput

type MonitorDatadogOrganizationPtrInput

type MonitorDatadogOrganizationPtrInput interface {
	pulumi.Input

	ToMonitorDatadogOrganizationPtrOutput() MonitorDatadogOrganizationPtrOutput
	ToMonitorDatadogOrganizationPtrOutputWithContext(context.Context) MonitorDatadogOrganizationPtrOutput
}

MonitorDatadogOrganizationPtrInput is an input type that accepts MonitorDatadogOrganizationArgs, MonitorDatadogOrganizationPtr and MonitorDatadogOrganizationPtrOutput values. You can construct a concrete instance of `MonitorDatadogOrganizationPtrInput` via:

        MonitorDatadogOrganizationArgs{...}

or:

        nil

type MonitorDatadogOrganizationPtrOutput

type MonitorDatadogOrganizationPtrOutput struct{ *pulumi.OutputState }

func (MonitorDatadogOrganizationPtrOutput) ApiKey

Api key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.

func (MonitorDatadogOrganizationPtrOutput) ApplicationKey

Application key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.

func (MonitorDatadogOrganizationPtrOutput) Elem

func (MonitorDatadogOrganizationPtrOutput) ElementType

func (MonitorDatadogOrganizationPtrOutput) EnterpriseAppId

The ID of the enterprise_app. Changing this forces a new resource to be created.

func (MonitorDatadogOrganizationPtrOutput) Id

The ID of the Datadog Monitor.

func (MonitorDatadogOrganizationPtrOutput) LinkingAuthCode

The auth code used to linking to an existing Datadog organization. Changing this forces a new Datadog Monitor to be created.

func (MonitorDatadogOrganizationPtrOutput) LinkingClientId

The ID of the linking_client. Changing this forces a new Datadog Monitor to be created.

func (MonitorDatadogOrganizationPtrOutput) Name

The name of the user that will be associated with the Datadog Monitor. Changing this forces a new Datadog Monitor to be created.

func (MonitorDatadogOrganizationPtrOutput) RedirectUri

The redirect uri for linking. Changing this forces a new Datadog Monitor to be created.

func (MonitorDatadogOrganizationPtrOutput) ToMonitorDatadogOrganizationPtrOutput

func (o MonitorDatadogOrganizationPtrOutput) ToMonitorDatadogOrganizationPtrOutput() MonitorDatadogOrganizationPtrOutput

func (MonitorDatadogOrganizationPtrOutput) ToMonitorDatadogOrganizationPtrOutputWithContext

func (o MonitorDatadogOrganizationPtrOutput) ToMonitorDatadogOrganizationPtrOutputWithContext(ctx context.Context) MonitorDatadogOrganizationPtrOutput

type MonitorIdentity

type MonitorIdentity struct {
	// The Principal ID for the Service Principal associated with the Identity of this Datadog Monitor.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Identity of this Datadog Monitor.
	TenantId *string `pulumi:"tenantId"`
	// Specifies the identity type of the Datadog Monitor. At this time the only allowed value is `SystemAssigned`.
	//
	// > **NOTE:** The assigned `principalId` and `tenantId` can be retrieved after the identity `type` has been set to `SystemAssigned` and the Datadog Monitor has been created. More details are available below.
	Type string `pulumi:"type"`
}

type MonitorIdentityArgs

type MonitorIdentityArgs struct {
	// The Principal ID for the Service Principal associated with the Identity of this Datadog Monitor.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Identity of this Datadog Monitor.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// Specifies the identity type of the Datadog Monitor. At this time the only allowed value is `SystemAssigned`.
	//
	// > **NOTE:** The assigned `principalId` and `tenantId` can be retrieved after the identity `type` has been set to `SystemAssigned` and the Datadog Monitor has been created. More details are available below.
	Type pulumi.StringInput `pulumi:"type"`
}

func (MonitorIdentityArgs) ElementType

func (MonitorIdentityArgs) ElementType() reflect.Type

func (MonitorIdentityArgs) ToMonitorIdentityOutput

func (i MonitorIdentityArgs) ToMonitorIdentityOutput() MonitorIdentityOutput

func (MonitorIdentityArgs) ToMonitorIdentityOutputWithContext

func (i MonitorIdentityArgs) ToMonitorIdentityOutputWithContext(ctx context.Context) MonitorIdentityOutput

func (MonitorIdentityArgs) ToMonitorIdentityPtrOutput

func (i MonitorIdentityArgs) ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput

func (MonitorIdentityArgs) ToMonitorIdentityPtrOutputWithContext

func (i MonitorIdentityArgs) ToMonitorIdentityPtrOutputWithContext(ctx context.Context) MonitorIdentityPtrOutput

type MonitorIdentityInput

type MonitorIdentityInput interface {
	pulumi.Input

	ToMonitorIdentityOutput() MonitorIdentityOutput
	ToMonitorIdentityOutputWithContext(context.Context) MonitorIdentityOutput
}

MonitorIdentityInput is an input type that accepts MonitorIdentityArgs and MonitorIdentityOutput values. You can construct a concrete instance of `MonitorIdentityInput` via:

MonitorIdentityArgs{...}

type MonitorIdentityOutput

type MonitorIdentityOutput struct{ *pulumi.OutputState }

func (MonitorIdentityOutput) ElementType

func (MonitorIdentityOutput) ElementType() reflect.Type

func (MonitorIdentityOutput) PrincipalId

The Principal ID for the Service Principal associated with the Identity of this Datadog Monitor.

func (MonitorIdentityOutput) TenantId

The Tenant ID for the Service Principal associated with the Identity of this Datadog Monitor.

func (MonitorIdentityOutput) ToMonitorIdentityOutput

func (o MonitorIdentityOutput) ToMonitorIdentityOutput() MonitorIdentityOutput

func (MonitorIdentityOutput) ToMonitorIdentityOutputWithContext

func (o MonitorIdentityOutput) ToMonitorIdentityOutputWithContext(ctx context.Context) MonitorIdentityOutput

func (MonitorIdentityOutput) ToMonitorIdentityPtrOutput

func (o MonitorIdentityOutput) ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput

func (MonitorIdentityOutput) ToMonitorIdentityPtrOutputWithContext

func (o MonitorIdentityOutput) ToMonitorIdentityPtrOutputWithContext(ctx context.Context) MonitorIdentityPtrOutput

func (MonitorIdentityOutput) Type

Specifies the identity type of the Datadog Monitor. At this time the only allowed value is `SystemAssigned`.

> **NOTE:** The assigned `principalId` and `tenantId` can be retrieved after the identity `type` has been set to `SystemAssigned` and the Datadog Monitor has been created. More details are available below.

type MonitorIdentityPtrInput

type MonitorIdentityPtrInput interface {
	pulumi.Input

	ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput
	ToMonitorIdentityPtrOutputWithContext(context.Context) MonitorIdentityPtrOutput
}

MonitorIdentityPtrInput is an input type that accepts MonitorIdentityArgs, MonitorIdentityPtr and MonitorIdentityPtrOutput values. You can construct a concrete instance of `MonitorIdentityPtrInput` via:

        MonitorIdentityArgs{...}

or:

        nil

type MonitorIdentityPtrOutput

type MonitorIdentityPtrOutput struct{ *pulumi.OutputState }

func (MonitorIdentityPtrOutput) Elem

func (MonitorIdentityPtrOutput) ElementType

func (MonitorIdentityPtrOutput) ElementType() reflect.Type

func (MonitorIdentityPtrOutput) PrincipalId

The Principal ID for the Service Principal associated with the Identity of this Datadog Monitor.

func (MonitorIdentityPtrOutput) TenantId

The Tenant ID for the Service Principal associated with the Identity of this Datadog Monitor.

func (MonitorIdentityPtrOutput) ToMonitorIdentityPtrOutput

func (o MonitorIdentityPtrOutput) ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput

func (MonitorIdentityPtrOutput) ToMonitorIdentityPtrOutputWithContext

func (o MonitorIdentityPtrOutput) ToMonitorIdentityPtrOutputWithContext(ctx context.Context) MonitorIdentityPtrOutput

func (MonitorIdentityPtrOutput) Type

Specifies the identity type of the Datadog Monitor. At this time the only allowed value is `SystemAssigned`.

> **NOTE:** The assigned `principalId` and `tenantId` can be retrieved after the identity `type` has been set to `SystemAssigned` and the Datadog Monitor has been created. More details are available below.

type MonitorInput

type MonitorInput interface {
	pulumi.Input

	ToMonitorOutput() MonitorOutput
	ToMonitorOutputWithContext(ctx context.Context) MonitorOutput
}

type MonitorMap

type MonitorMap map[string]MonitorInput

func (MonitorMap) ElementType

func (MonitorMap) ElementType() reflect.Type

func (MonitorMap) ToMonitorMapOutput

func (i MonitorMap) ToMonitorMapOutput() MonitorMapOutput

func (MonitorMap) ToMonitorMapOutputWithContext

func (i MonitorMap) ToMonitorMapOutputWithContext(ctx context.Context) MonitorMapOutput

type MonitorMapInput

type MonitorMapInput interface {
	pulumi.Input

	ToMonitorMapOutput() MonitorMapOutput
	ToMonitorMapOutputWithContext(context.Context) MonitorMapOutput
}

MonitorMapInput is an input type that accepts MonitorMap and MonitorMapOutput values. You can construct a concrete instance of `MonitorMapInput` via:

MonitorMap{ "key": MonitorArgs{...} }

type MonitorMapOutput

type MonitorMapOutput struct{ *pulumi.OutputState }

func (MonitorMapOutput) ElementType

func (MonitorMapOutput) ElementType() reflect.Type

func (MonitorMapOutput) MapIndex

func (MonitorMapOutput) ToMonitorMapOutput

func (o MonitorMapOutput) ToMonitorMapOutput() MonitorMapOutput

func (MonitorMapOutput) ToMonitorMapOutputWithContext

func (o MonitorMapOutput) ToMonitorMapOutputWithContext(ctx context.Context) MonitorMapOutput

type MonitorOutput

type MonitorOutput struct{ *pulumi.OutputState }

func (MonitorOutput) DatadogOrganization

func (o MonitorOutput) DatadogOrganization() MonitorDatadogOrganizationOutput

A `datadogOrganization` block as defined below.

func (MonitorOutput) ElementType

func (MonitorOutput) ElementType() reflect.Type

func (MonitorOutput) Identity

A `identity` block as defined below.

func (MonitorOutput) Location

func (o MonitorOutput) Location() pulumi.StringOutput

The Azure Region where the Datadog Monitor should exist. Changing this forces a new Datadog Monitor to be created.

func (MonitorOutput) MarketplaceSubscriptionStatus

func (o MonitorOutput) MarketplaceSubscriptionStatus() pulumi.StringOutput

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

func (MonitorOutput) MonitoringEnabled

func (o MonitorOutput) MonitoringEnabled() pulumi.BoolPtrOutput

Is monitoring enabled? Defaults to `true`.

func (MonitorOutput) Name

The name of the user that will be associated with the Datadog Monitor. Changing this forces a new Datadog Monitor to be created.

func (MonitorOutput) ResourceGroupName

func (o MonitorOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Datadog Monitor should exist. Changing this forces a new Datadog Monitor to be created.

func (MonitorOutput) SkuName

func (o MonitorOutput) SkuName() pulumi.StringOutput

The name which should be used for this sku.

func (MonitorOutput) Tags

A mapping of tags which should be assigned to the Datadog Monitor.

func (MonitorOutput) ToMonitorOutput

func (o MonitorOutput) ToMonitorOutput() MonitorOutput

func (MonitorOutput) ToMonitorOutputWithContext

func (o MonitorOutput) ToMonitorOutputWithContext(ctx context.Context) MonitorOutput

func (MonitorOutput) User

A `user` block as defined below.

type MonitorSsoConfiguration

type MonitorSsoConfiguration struct {
	pulumi.CustomResourceState

	// The Datadog Monitor Id which should be used for this Datadog Monitor SSO Configuration. Changing this forces a new Datadog Monitor SSO Configuration to be created.
	DatadogMonitorId pulumi.StringOutput `pulumi:"datadogMonitorId"`
	// The application Id to perform SSO operation.
	EnterpriseApplicationId pulumi.StringOutput `pulumi:"enterpriseApplicationId"`
	// The SingleSignOn URL to login to Datadog org.
	LoginUrl pulumi.StringOutput `pulumi:"loginUrl"`
	// The name of the SingleSignOn configuration. Defaults to `default`.
	Name pulumi.StringOutput `pulumi:"name"`
	// The state of SingleSignOn configuration. Possible values are `Enable` and `Disable`.
	SingleSignOnEnabled pulumi.StringOutput `pulumi:"singleSignOnEnabled"`
}

Manages SingleSignOn on the datadog Monitor.

## Example Usage

### Enabling SSO on monitor ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/datadog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-datadog"),
			Location: pulumi.String("West US 2"),
		})
		if err != nil {
			return err
		}
		exampleMonitor, err := datadog.NewMonitor(ctx, "example", &datadog.MonitorArgs{
			Name:              pulumi.String("example-monitor"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			DatadogOrganization: &datadog.MonitorDatadogOrganizationArgs{
				ApiKey:         pulumi.String("XXXX"),
				ApplicationKey: pulumi.String("XXXX"),
			},
			User: &datadog.MonitorUserArgs{
				Name:  pulumi.String("Example"),
				Email: pulumi.String("abc@xyz.com"),
			},
			SkuName: pulumi.String("Linked"),
			Identity: &datadog.MonitorIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		_, err = datadog.NewMonitorSsoConfiguration(ctx, "example", &datadog.MonitorSsoConfigurationArgs{
			DatadogMonitorId:        exampleMonitor.ID(),
			SingleSignOnEnabled:     pulumi.String("Enable"),
			EnterpriseApplicationId: pulumi.String("XXXX"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SingleSignOn on the Datadog Monitor can be imported using the `signle sign on resource id`, e.g.

```sh $ pulumi import azure:datadog/monitorSsoConfiguration:MonitorSsoConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Datadog/monitors/monitor1/singleSignOnConfigurations/default ```

func GetMonitorSsoConfiguration

func GetMonitorSsoConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MonitorSsoConfigurationState, opts ...pulumi.ResourceOption) (*MonitorSsoConfiguration, error)

GetMonitorSsoConfiguration gets an existing MonitorSsoConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMonitorSsoConfiguration

func NewMonitorSsoConfiguration(ctx *pulumi.Context,
	name string, args *MonitorSsoConfigurationArgs, opts ...pulumi.ResourceOption) (*MonitorSsoConfiguration, error)

NewMonitorSsoConfiguration registers a new resource with the given unique name, arguments, and options.

func (*MonitorSsoConfiguration) ElementType

func (*MonitorSsoConfiguration) ElementType() reflect.Type

func (*MonitorSsoConfiguration) ToMonitorSsoConfigurationOutput

func (i *MonitorSsoConfiguration) ToMonitorSsoConfigurationOutput() MonitorSsoConfigurationOutput

func (*MonitorSsoConfiguration) ToMonitorSsoConfigurationOutputWithContext

func (i *MonitorSsoConfiguration) ToMonitorSsoConfigurationOutputWithContext(ctx context.Context) MonitorSsoConfigurationOutput

type MonitorSsoConfigurationArgs

type MonitorSsoConfigurationArgs struct {
	// The Datadog Monitor Id which should be used for this Datadog Monitor SSO Configuration. Changing this forces a new Datadog Monitor SSO Configuration to be created.
	DatadogMonitorId pulumi.StringInput
	// The application Id to perform SSO operation.
	EnterpriseApplicationId pulumi.StringInput
	// The name of the SingleSignOn configuration. Defaults to `default`.
	Name pulumi.StringPtrInput
	// The state of SingleSignOn configuration. Possible values are `Enable` and `Disable`.
	SingleSignOnEnabled pulumi.StringInput
}

The set of arguments for constructing a MonitorSsoConfiguration resource.

func (MonitorSsoConfigurationArgs) ElementType

type MonitorSsoConfigurationArray

type MonitorSsoConfigurationArray []MonitorSsoConfigurationInput

func (MonitorSsoConfigurationArray) ElementType

func (MonitorSsoConfigurationArray) ToMonitorSsoConfigurationArrayOutput

func (i MonitorSsoConfigurationArray) ToMonitorSsoConfigurationArrayOutput() MonitorSsoConfigurationArrayOutput

func (MonitorSsoConfigurationArray) ToMonitorSsoConfigurationArrayOutputWithContext

func (i MonitorSsoConfigurationArray) ToMonitorSsoConfigurationArrayOutputWithContext(ctx context.Context) MonitorSsoConfigurationArrayOutput

type MonitorSsoConfigurationArrayInput

type MonitorSsoConfigurationArrayInput interface {
	pulumi.Input

	ToMonitorSsoConfigurationArrayOutput() MonitorSsoConfigurationArrayOutput
	ToMonitorSsoConfigurationArrayOutputWithContext(context.Context) MonitorSsoConfigurationArrayOutput
}

MonitorSsoConfigurationArrayInput is an input type that accepts MonitorSsoConfigurationArray and MonitorSsoConfigurationArrayOutput values. You can construct a concrete instance of `MonitorSsoConfigurationArrayInput` via:

MonitorSsoConfigurationArray{ MonitorSsoConfigurationArgs{...} }

type MonitorSsoConfigurationArrayOutput

type MonitorSsoConfigurationArrayOutput struct{ *pulumi.OutputState }

func (MonitorSsoConfigurationArrayOutput) ElementType

func (MonitorSsoConfigurationArrayOutput) Index

func (MonitorSsoConfigurationArrayOutput) ToMonitorSsoConfigurationArrayOutput

func (o MonitorSsoConfigurationArrayOutput) ToMonitorSsoConfigurationArrayOutput() MonitorSsoConfigurationArrayOutput

func (MonitorSsoConfigurationArrayOutput) ToMonitorSsoConfigurationArrayOutputWithContext

func (o MonitorSsoConfigurationArrayOutput) ToMonitorSsoConfigurationArrayOutputWithContext(ctx context.Context) MonitorSsoConfigurationArrayOutput

type MonitorSsoConfigurationInput

type MonitorSsoConfigurationInput interface {
	pulumi.Input

	ToMonitorSsoConfigurationOutput() MonitorSsoConfigurationOutput
	ToMonitorSsoConfigurationOutputWithContext(ctx context.Context) MonitorSsoConfigurationOutput
}

type MonitorSsoConfigurationMap

type MonitorSsoConfigurationMap map[string]MonitorSsoConfigurationInput

func (MonitorSsoConfigurationMap) ElementType

func (MonitorSsoConfigurationMap) ElementType() reflect.Type

func (MonitorSsoConfigurationMap) ToMonitorSsoConfigurationMapOutput

func (i MonitorSsoConfigurationMap) ToMonitorSsoConfigurationMapOutput() MonitorSsoConfigurationMapOutput

func (MonitorSsoConfigurationMap) ToMonitorSsoConfigurationMapOutputWithContext

func (i MonitorSsoConfigurationMap) ToMonitorSsoConfigurationMapOutputWithContext(ctx context.Context) MonitorSsoConfigurationMapOutput

type MonitorSsoConfigurationMapInput

type MonitorSsoConfigurationMapInput interface {
	pulumi.Input

	ToMonitorSsoConfigurationMapOutput() MonitorSsoConfigurationMapOutput
	ToMonitorSsoConfigurationMapOutputWithContext(context.Context) MonitorSsoConfigurationMapOutput
}

MonitorSsoConfigurationMapInput is an input type that accepts MonitorSsoConfigurationMap and MonitorSsoConfigurationMapOutput values. You can construct a concrete instance of `MonitorSsoConfigurationMapInput` via:

MonitorSsoConfigurationMap{ "key": MonitorSsoConfigurationArgs{...} }

type MonitorSsoConfigurationMapOutput

type MonitorSsoConfigurationMapOutput struct{ *pulumi.OutputState }

func (MonitorSsoConfigurationMapOutput) ElementType

func (MonitorSsoConfigurationMapOutput) MapIndex

func (MonitorSsoConfigurationMapOutput) ToMonitorSsoConfigurationMapOutput

func (o MonitorSsoConfigurationMapOutput) ToMonitorSsoConfigurationMapOutput() MonitorSsoConfigurationMapOutput

func (MonitorSsoConfigurationMapOutput) ToMonitorSsoConfigurationMapOutputWithContext

func (o MonitorSsoConfigurationMapOutput) ToMonitorSsoConfigurationMapOutputWithContext(ctx context.Context) MonitorSsoConfigurationMapOutput

type MonitorSsoConfigurationOutput

type MonitorSsoConfigurationOutput struct{ *pulumi.OutputState }

func (MonitorSsoConfigurationOutput) DatadogMonitorId

func (o MonitorSsoConfigurationOutput) DatadogMonitorId() pulumi.StringOutput

The Datadog Monitor Id which should be used for this Datadog Monitor SSO Configuration. Changing this forces a new Datadog Monitor SSO Configuration to be created.

func (MonitorSsoConfigurationOutput) ElementType

func (MonitorSsoConfigurationOutput) EnterpriseApplicationId

func (o MonitorSsoConfigurationOutput) EnterpriseApplicationId() pulumi.StringOutput

The application Id to perform SSO operation.

func (MonitorSsoConfigurationOutput) LoginUrl

The SingleSignOn URL to login to Datadog org.

func (MonitorSsoConfigurationOutput) Name

The name of the SingleSignOn configuration. Defaults to `default`.

func (MonitorSsoConfigurationOutput) SingleSignOnEnabled

func (o MonitorSsoConfigurationOutput) SingleSignOnEnabled() pulumi.StringOutput

The state of SingleSignOn configuration. Possible values are `Enable` and `Disable`.

func (MonitorSsoConfigurationOutput) ToMonitorSsoConfigurationOutput

func (o MonitorSsoConfigurationOutput) ToMonitorSsoConfigurationOutput() MonitorSsoConfigurationOutput

func (MonitorSsoConfigurationOutput) ToMonitorSsoConfigurationOutputWithContext

func (o MonitorSsoConfigurationOutput) ToMonitorSsoConfigurationOutputWithContext(ctx context.Context) MonitorSsoConfigurationOutput

type MonitorSsoConfigurationState

type MonitorSsoConfigurationState struct {
	// The Datadog Monitor Id which should be used for this Datadog Monitor SSO Configuration. Changing this forces a new Datadog Monitor SSO Configuration to be created.
	DatadogMonitorId pulumi.StringPtrInput
	// The application Id to perform SSO operation.
	EnterpriseApplicationId pulumi.StringPtrInput
	// The SingleSignOn URL to login to Datadog org.
	LoginUrl pulumi.StringPtrInput
	// The name of the SingleSignOn configuration. Defaults to `default`.
	Name pulumi.StringPtrInput
	// The state of SingleSignOn configuration. Possible values are `Enable` and `Disable`.
	SingleSignOnEnabled pulumi.StringPtrInput
}

func (MonitorSsoConfigurationState) ElementType

type MonitorState

type MonitorState struct {
	// A `datadogOrganization` block as defined below.
	DatadogOrganization MonitorDatadogOrganizationPtrInput
	// A `identity` block as defined below.
	Identity MonitorIdentityPtrInput
	// The Azure Region where the Datadog Monitor should exist. Changing this forces a new Datadog Monitor to be created.
	Location pulumi.StringPtrInput
	// Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
	MarketplaceSubscriptionStatus pulumi.StringPtrInput
	// Is monitoring enabled? Defaults to `true`.
	MonitoringEnabled pulumi.BoolPtrInput
	// The name of the user that will be associated with the Datadog Monitor. Changing this forces a new Datadog Monitor to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Datadog Monitor should exist. Changing this forces a new Datadog Monitor to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The name which should be used for this sku.
	SkuName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Datadog Monitor.
	Tags pulumi.StringMapInput
	// A `user` block as defined below.
	User MonitorUserPtrInput
}

func (MonitorState) ElementType

func (MonitorState) ElementType() reflect.Type

type MonitorTagRule

type MonitorTagRule struct {
	pulumi.CustomResourceState

	// The Datadog Monitor Id which should be used for this Datadog Monitor Tag Rule. Changing this forces a new Datadog Monitor Tag Rule to be created.
	DatadogMonitorId pulumi.StringOutput `pulumi:"datadogMonitorId"`
	// A `log` block as defined below.
	Logs MonitorTagRuleLogArrayOutput `pulumi:"logs"`
	// A `metric` block as defined below.
	Metrics MonitorTagRuleMetricArrayOutput `pulumi:"metrics"`
	// The name of the Tag Rules configuration. The allowed value is `default`. Defaults to `default`.
	Name pulumi.StringOutput `pulumi:"name"`
}

Manages TagRules on the datadog Monitor.

## Example Usage

### Adding TagRules on monitor ```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/datadog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-datadog"),
			Location: pulumi.String("West US 2"),
		})
		if err != nil {
			return err
		}
		exampleMonitor, err := datadog.NewMonitor(ctx, "example", &datadog.MonitorArgs{
			Name:              pulumi.String("example-monitor"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			DatadogOrganization: &datadog.MonitorDatadogOrganizationArgs{
				ApiKey:         pulumi.String("XXXX"),
				ApplicationKey: pulumi.String("XXXX"),
			},
			User: &datadog.MonitorUserArgs{
				Name:  pulumi.String("Example"),
				Email: pulumi.String("abc@xyz.com"),
			},
			SkuName: pulumi.String("Linked"),
			Identity: &datadog.MonitorIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		_, err = datadog.NewMonitorTagRule(ctx, "example", &datadog.MonitorTagRuleArgs{
			DatadogMonitorId: exampleMonitor.ID(),
			Logs: datadog.MonitorTagRuleLogArray{
				&datadog.MonitorTagRuleLogArgs{
					SubscriptionLogEnabled: pulumi.Bool(true),
				},
			},
			Metrics: datadog.MonitorTagRuleMetricArray{
				&datadog.MonitorTagRuleMetricArgs{
					Filters: datadog.MonitorTagRuleMetricFilterArray{
						&datadog.MonitorTagRuleMetricFilterArgs{
							Name:   pulumi.String("Test"),
							Value:  pulumi.String("Logs"),
							Action: pulumi.String("Include"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Tag Rules on the Datadog Monitor can be imported using the `tag rule resource id`, e.g.

```sh $ pulumi import azure:datadog/monitorTagRule:MonitorTagRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Datadog/monitors/monitor1/tagRules/default ```

func GetMonitorTagRule

func GetMonitorTagRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MonitorTagRuleState, opts ...pulumi.ResourceOption) (*MonitorTagRule, error)

GetMonitorTagRule gets an existing MonitorTagRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMonitorTagRule

func NewMonitorTagRule(ctx *pulumi.Context,
	name string, args *MonitorTagRuleArgs, opts ...pulumi.ResourceOption) (*MonitorTagRule, error)

NewMonitorTagRule registers a new resource with the given unique name, arguments, and options.

func (*MonitorTagRule) ElementType

func (*MonitorTagRule) ElementType() reflect.Type

func (*MonitorTagRule) ToMonitorTagRuleOutput

func (i *MonitorTagRule) ToMonitorTagRuleOutput() MonitorTagRuleOutput

func (*MonitorTagRule) ToMonitorTagRuleOutputWithContext

func (i *MonitorTagRule) ToMonitorTagRuleOutputWithContext(ctx context.Context) MonitorTagRuleOutput

type MonitorTagRuleArgs

type MonitorTagRuleArgs struct {
	// The Datadog Monitor Id which should be used for this Datadog Monitor Tag Rule. Changing this forces a new Datadog Monitor Tag Rule to be created.
	DatadogMonitorId pulumi.StringInput
	// A `log` block as defined below.
	Logs MonitorTagRuleLogArrayInput
	// A `metric` block as defined below.
	Metrics MonitorTagRuleMetricArrayInput
	// The name of the Tag Rules configuration. The allowed value is `default`. Defaults to `default`.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a MonitorTagRule resource.

func (MonitorTagRuleArgs) ElementType

func (MonitorTagRuleArgs) ElementType() reflect.Type

type MonitorTagRuleArray

type MonitorTagRuleArray []MonitorTagRuleInput

func (MonitorTagRuleArray) ElementType

func (MonitorTagRuleArray) ElementType() reflect.Type

func (MonitorTagRuleArray) ToMonitorTagRuleArrayOutput

func (i MonitorTagRuleArray) ToMonitorTagRuleArrayOutput() MonitorTagRuleArrayOutput

func (MonitorTagRuleArray) ToMonitorTagRuleArrayOutputWithContext

func (i MonitorTagRuleArray) ToMonitorTagRuleArrayOutputWithContext(ctx context.Context) MonitorTagRuleArrayOutput

type MonitorTagRuleArrayInput

type MonitorTagRuleArrayInput interface {
	pulumi.Input

	ToMonitorTagRuleArrayOutput() MonitorTagRuleArrayOutput
	ToMonitorTagRuleArrayOutputWithContext(context.Context) MonitorTagRuleArrayOutput
}

MonitorTagRuleArrayInput is an input type that accepts MonitorTagRuleArray and MonitorTagRuleArrayOutput values. You can construct a concrete instance of `MonitorTagRuleArrayInput` via:

MonitorTagRuleArray{ MonitorTagRuleArgs{...} }

type MonitorTagRuleArrayOutput

type MonitorTagRuleArrayOutput struct{ *pulumi.OutputState }

func (MonitorTagRuleArrayOutput) ElementType

func (MonitorTagRuleArrayOutput) ElementType() reflect.Type

func (MonitorTagRuleArrayOutput) Index

func (MonitorTagRuleArrayOutput) ToMonitorTagRuleArrayOutput

func (o MonitorTagRuleArrayOutput) ToMonitorTagRuleArrayOutput() MonitorTagRuleArrayOutput

func (MonitorTagRuleArrayOutput) ToMonitorTagRuleArrayOutputWithContext

func (o MonitorTagRuleArrayOutput) ToMonitorTagRuleArrayOutputWithContext(ctx context.Context) MonitorTagRuleArrayOutput

type MonitorTagRuleInput

type MonitorTagRuleInput interface {
	pulumi.Input

	ToMonitorTagRuleOutput() MonitorTagRuleOutput
	ToMonitorTagRuleOutputWithContext(ctx context.Context) MonitorTagRuleOutput
}

type MonitorTagRuleLog

type MonitorTagRuleLog struct {
	// Whether AAD logs should be sent for the Monitor resource?
	AadLogEnabled *bool `pulumi:"aadLogEnabled"`
	// A `filter` block as defined below.
	//
	// > **NOTE:** List of filtering tags to be used for capturing logs. This only takes effect if `resourceLogEnabled` flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
	Filters []MonitorTagRuleLogFilter `pulumi:"filters"`
	// Whether Azure resource logs should be sent for the Monitor resource?
	ResourceLogEnabled *bool `pulumi:"resourceLogEnabled"`
	// Whether Azure subscription logs should be sent for the Monitor resource?
	SubscriptionLogEnabled *bool `pulumi:"subscriptionLogEnabled"`
}

type MonitorTagRuleLogArgs

type MonitorTagRuleLogArgs struct {
	// Whether AAD logs should be sent for the Monitor resource?
	AadLogEnabled pulumi.BoolPtrInput `pulumi:"aadLogEnabled"`
	// A `filter` block as defined below.
	//
	// > **NOTE:** List of filtering tags to be used for capturing logs. This only takes effect if `resourceLogEnabled` flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
	Filters MonitorTagRuleLogFilterArrayInput `pulumi:"filters"`
	// Whether Azure resource logs should be sent for the Monitor resource?
	ResourceLogEnabled pulumi.BoolPtrInput `pulumi:"resourceLogEnabled"`
	// Whether Azure subscription logs should be sent for the Monitor resource?
	SubscriptionLogEnabled pulumi.BoolPtrInput `pulumi:"subscriptionLogEnabled"`
}

func (MonitorTagRuleLogArgs) ElementType

func (MonitorTagRuleLogArgs) ElementType() reflect.Type

func (MonitorTagRuleLogArgs) ToMonitorTagRuleLogOutput

func (i MonitorTagRuleLogArgs) ToMonitorTagRuleLogOutput() MonitorTagRuleLogOutput

func (MonitorTagRuleLogArgs) ToMonitorTagRuleLogOutputWithContext

func (i MonitorTagRuleLogArgs) ToMonitorTagRuleLogOutputWithContext(ctx context.Context) MonitorTagRuleLogOutput

type MonitorTagRuleLogArray

type MonitorTagRuleLogArray []MonitorTagRuleLogInput

func (MonitorTagRuleLogArray) ElementType

func (MonitorTagRuleLogArray) ElementType() reflect.Type

func (MonitorTagRuleLogArray) ToMonitorTagRuleLogArrayOutput

func (i MonitorTagRuleLogArray) ToMonitorTagRuleLogArrayOutput() MonitorTagRuleLogArrayOutput

func (MonitorTagRuleLogArray) ToMonitorTagRuleLogArrayOutputWithContext

func (i MonitorTagRuleLogArray) ToMonitorTagRuleLogArrayOutputWithContext(ctx context.Context) MonitorTagRuleLogArrayOutput

type MonitorTagRuleLogArrayInput

type MonitorTagRuleLogArrayInput interface {
	pulumi.Input

	ToMonitorTagRuleLogArrayOutput() MonitorTagRuleLogArrayOutput
	ToMonitorTagRuleLogArrayOutputWithContext(context.Context) MonitorTagRuleLogArrayOutput
}

MonitorTagRuleLogArrayInput is an input type that accepts MonitorTagRuleLogArray and MonitorTagRuleLogArrayOutput values. You can construct a concrete instance of `MonitorTagRuleLogArrayInput` via:

MonitorTagRuleLogArray{ MonitorTagRuleLogArgs{...} }

type MonitorTagRuleLogArrayOutput

type MonitorTagRuleLogArrayOutput struct{ *pulumi.OutputState }

func (MonitorTagRuleLogArrayOutput) ElementType

func (MonitorTagRuleLogArrayOutput) Index

func (MonitorTagRuleLogArrayOutput) ToMonitorTagRuleLogArrayOutput

func (o MonitorTagRuleLogArrayOutput) ToMonitorTagRuleLogArrayOutput() MonitorTagRuleLogArrayOutput

func (MonitorTagRuleLogArrayOutput) ToMonitorTagRuleLogArrayOutputWithContext

func (o MonitorTagRuleLogArrayOutput) ToMonitorTagRuleLogArrayOutputWithContext(ctx context.Context) MonitorTagRuleLogArrayOutput

type MonitorTagRuleLogFilter

type MonitorTagRuleLogFilter struct {
	// Allowed values Include or Exclude.
	Action string `pulumi:"action"`
	// Name of the Tag.
	Name string `pulumi:"name"`
	// Value of the Tag.
	Value string `pulumi:"value"`
}

type MonitorTagRuleLogFilterArgs

type MonitorTagRuleLogFilterArgs struct {
	// Allowed values Include or Exclude.
	Action pulumi.StringInput `pulumi:"action"`
	// Name of the Tag.
	Name pulumi.StringInput `pulumi:"name"`
	// Value of the Tag.
	Value pulumi.StringInput `pulumi:"value"`
}

func (MonitorTagRuleLogFilterArgs) ElementType

func (MonitorTagRuleLogFilterArgs) ToMonitorTagRuleLogFilterOutput

func (i MonitorTagRuleLogFilterArgs) ToMonitorTagRuleLogFilterOutput() MonitorTagRuleLogFilterOutput

func (MonitorTagRuleLogFilterArgs) ToMonitorTagRuleLogFilterOutputWithContext

func (i MonitorTagRuleLogFilterArgs) ToMonitorTagRuleLogFilterOutputWithContext(ctx context.Context) MonitorTagRuleLogFilterOutput

type MonitorTagRuleLogFilterArray

type MonitorTagRuleLogFilterArray []MonitorTagRuleLogFilterInput

func (MonitorTagRuleLogFilterArray) ElementType

func (MonitorTagRuleLogFilterArray) ToMonitorTagRuleLogFilterArrayOutput

func (i MonitorTagRuleLogFilterArray) ToMonitorTagRuleLogFilterArrayOutput() MonitorTagRuleLogFilterArrayOutput

func (MonitorTagRuleLogFilterArray) ToMonitorTagRuleLogFilterArrayOutputWithContext

func (i MonitorTagRuleLogFilterArray) ToMonitorTagRuleLogFilterArrayOutputWithContext(ctx context.Context) MonitorTagRuleLogFilterArrayOutput

type MonitorTagRuleLogFilterArrayInput

type MonitorTagRuleLogFilterArrayInput interface {
	pulumi.Input

	ToMonitorTagRuleLogFilterArrayOutput() MonitorTagRuleLogFilterArrayOutput
	ToMonitorTagRuleLogFilterArrayOutputWithContext(context.Context) MonitorTagRuleLogFilterArrayOutput
}

MonitorTagRuleLogFilterArrayInput is an input type that accepts MonitorTagRuleLogFilterArray and MonitorTagRuleLogFilterArrayOutput values. You can construct a concrete instance of `MonitorTagRuleLogFilterArrayInput` via:

MonitorTagRuleLogFilterArray{ MonitorTagRuleLogFilterArgs{...} }

type MonitorTagRuleLogFilterArrayOutput

type MonitorTagRuleLogFilterArrayOutput struct{ *pulumi.OutputState }

func (MonitorTagRuleLogFilterArrayOutput) ElementType

func (MonitorTagRuleLogFilterArrayOutput) Index

func (MonitorTagRuleLogFilterArrayOutput) ToMonitorTagRuleLogFilterArrayOutput

func (o MonitorTagRuleLogFilterArrayOutput) ToMonitorTagRuleLogFilterArrayOutput() MonitorTagRuleLogFilterArrayOutput

func (MonitorTagRuleLogFilterArrayOutput) ToMonitorTagRuleLogFilterArrayOutputWithContext

func (o MonitorTagRuleLogFilterArrayOutput) ToMonitorTagRuleLogFilterArrayOutputWithContext(ctx context.Context) MonitorTagRuleLogFilterArrayOutput

type MonitorTagRuleLogFilterInput

type MonitorTagRuleLogFilterInput interface {
	pulumi.Input

	ToMonitorTagRuleLogFilterOutput() MonitorTagRuleLogFilterOutput
	ToMonitorTagRuleLogFilterOutputWithContext(context.Context) MonitorTagRuleLogFilterOutput
}

MonitorTagRuleLogFilterInput is an input type that accepts MonitorTagRuleLogFilterArgs and MonitorTagRuleLogFilterOutput values. You can construct a concrete instance of `MonitorTagRuleLogFilterInput` via:

MonitorTagRuleLogFilterArgs{...}

type MonitorTagRuleLogFilterOutput

type MonitorTagRuleLogFilterOutput struct{ *pulumi.OutputState }

func (MonitorTagRuleLogFilterOutput) Action

Allowed values Include or Exclude.

func (MonitorTagRuleLogFilterOutput) ElementType

func (MonitorTagRuleLogFilterOutput) Name

Name of the Tag.

func (MonitorTagRuleLogFilterOutput) ToMonitorTagRuleLogFilterOutput

func (o MonitorTagRuleLogFilterOutput) ToMonitorTagRuleLogFilterOutput() MonitorTagRuleLogFilterOutput

func (MonitorTagRuleLogFilterOutput) ToMonitorTagRuleLogFilterOutputWithContext

func (o MonitorTagRuleLogFilterOutput) ToMonitorTagRuleLogFilterOutputWithContext(ctx context.Context) MonitorTagRuleLogFilterOutput

func (MonitorTagRuleLogFilterOutput) Value

Value of the Tag.

type MonitorTagRuleLogInput

type MonitorTagRuleLogInput interface {
	pulumi.Input

	ToMonitorTagRuleLogOutput() MonitorTagRuleLogOutput
	ToMonitorTagRuleLogOutputWithContext(context.Context) MonitorTagRuleLogOutput
}

MonitorTagRuleLogInput is an input type that accepts MonitorTagRuleLogArgs and MonitorTagRuleLogOutput values. You can construct a concrete instance of `MonitorTagRuleLogInput` via:

MonitorTagRuleLogArgs{...}

type MonitorTagRuleLogOutput

type MonitorTagRuleLogOutput struct{ *pulumi.OutputState }

func (MonitorTagRuleLogOutput) AadLogEnabled

func (o MonitorTagRuleLogOutput) AadLogEnabled() pulumi.BoolPtrOutput

Whether AAD logs should be sent for the Monitor resource?

func (MonitorTagRuleLogOutput) ElementType

func (MonitorTagRuleLogOutput) ElementType() reflect.Type

func (MonitorTagRuleLogOutput) Filters

A `filter` block as defined below.

> **NOTE:** List of filtering tags to be used for capturing logs. This only takes effect if `resourceLogEnabled` flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.

func (MonitorTagRuleLogOutput) ResourceLogEnabled

func (o MonitorTagRuleLogOutput) ResourceLogEnabled() pulumi.BoolPtrOutput

Whether Azure resource logs should be sent for the Monitor resource?

func (MonitorTagRuleLogOutput) SubscriptionLogEnabled

func (o MonitorTagRuleLogOutput) SubscriptionLogEnabled() pulumi.BoolPtrOutput

Whether Azure subscription logs should be sent for the Monitor resource?

func (MonitorTagRuleLogOutput) ToMonitorTagRuleLogOutput

func (o MonitorTagRuleLogOutput) ToMonitorTagRuleLogOutput() MonitorTagRuleLogOutput

func (MonitorTagRuleLogOutput) ToMonitorTagRuleLogOutputWithContext

func (o MonitorTagRuleLogOutput) ToMonitorTagRuleLogOutputWithContext(ctx context.Context) MonitorTagRuleLogOutput

type MonitorTagRuleMap

type MonitorTagRuleMap map[string]MonitorTagRuleInput

func (MonitorTagRuleMap) ElementType

func (MonitorTagRuleMap) ElementType() reflect.Type

func (MonitorTagRuleMap) ToMonitorTagRuleMapOutput

func (i MonitorTagRuleMap) ToMonitorTagRuleMapOutput() MonitorTagRuleMapOutput

func (MonitorTagRuleMap) ToMonitorTagRuleMapOutputWithContext

func (i MonitorTagRuleMap) ToMonitorTagRuleMapOutputWithContext(ctx context.Context) MonitorTagRuleMapOutput

type MonitorTagRuleMapInput

type MonitorTagRuleMapInput interface {
	pulumi.Input

	ToMonitorTagRuleMapOutput() MonitorTagRuleMapOutput
	ToMonitorTagRuleMapOutputWithContext(context.Context) MonitorTagRuleMapOutput
}

MonitorTagRuleMapInput is an input type that accepts MonitorTagRuleMap and MonitorTagRuleMapOutput values. You can construct a concrete instance of `MonitorTagRuleMapInput` via:

MonitorTagRuleMap{ "key": MonitorTagRuleArgs{...} }

type MonitorTagRuleMapOutput

type MonitorTagRuleMapOutput struct{ *pulumi.OutputState }

func (MonitorTagRuleMapOutput) ElementType

func (MonitorTagRuleMapOutput) ElementType() reflect.Type

func (MonitorTagRuleMapOutput) MapIndex

func (MonitorTagRuleMapOutput) ToMonitorTagRuleMapOutput

func (o MonitorTagRuleMapOutput) ToMonitorTagRuleMapOutput() MonitorTagRuleMapOutput

func (MonitorTagRuleMapOutput) ToMonitorTagRuleMapOutputWithContext

func (o MonitorTagRuleMapOutput) ToMonitorTagRuleMapOutputWithContext(ctx context.Context) MonitorTagRuleMapOutput

type MonitorTagRuleMetric

type MonitorTagRuleMetric struct {
	// A `filter` block as defined below.
	//
	// > **NOTE:** List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
	Filters []MonitorTagRuleMetricFilter `pulumi:"filters"`
}

type MonitorTagRuleMetricArgs

type MonitorTagRuleMetricArgs struct {
	// A `filter` block as defined below.
	//
	// > **NOTE:** List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.
	Filters MonitorTagRuleMetricFilterArrayInput `pulumi:"filters"`
}

func (MonitorTagRuleMetricArgs) ElementType

func (MonitorTagRuleMetricArgs) ElementType() reflect.Type

func (MonitorTagRuleMetricArgs) ToMonitorTagRuleMetricOutput

func (i MonitorTagRuleMetricArgs) ToMonitorTagRuleMetricOutput() MonitorTagRuleMetricOutput

func (MonitorTagRuleMetricArgs) ToMonitorTagRuleMetricOutputWithContext

func (i MonitorTagRuleMetricArgs) ToMonitorTagRuleMetricOutputWithContext(ctx context.Context) MonitorTagRuleMetricOutput

type MonitorTagRuleMetricArray

type MonitorTagRuleMetricArray []MonitorTagRuleMetricInput

func (MonitorTagRuleMetricArray) ElementType

func (MonitorTagRuleMetricArray) ElementType() reflect.Type

func (MonitorTagRuleMetricArray) ToMonitorTagRuleMetricArrayOutput

func (i MonitorTagRuleMetricArray) ToMonitorTagRuleMetricArrayOutput() MonitorTagRuleMetricArrayOutput

func (MonitorTagRuleMetricArray) ToMonitorTagRuleMetricArrayOutputWithContext

func (i MonitorTagRuleMetricArray) ToMonitorTagRuleMetricArrayOutputWithContext(ctx context.Context) MonitorTagRuleMetricArrayOutput

type MonitorTagRuleMetricArrayInput

type MonitorTagRuleMetricArrayInput interface {
	pulumi.Input

	ToMonitorTagRuleMetricArrayOutput() MonitorTagRuleMetricArrayOutput
	ToMonitorTagRuleMetricArrayOutputWithContext(context.Context) MonitorTagRuleMetricArrayOutput
}

MonitorTagRuleMetricArrayInput is an input type that accepts MonitorTagRuleMetricArray and MonitorTagRuleMetricArrayOutput values. You can construct a concrete instance of `MonitorTagRuleMetricArrayInput` via:

MonitorTagRuleMetricArray{ MonitorTagRuleMetricArgs{...} }

type MonitorTagRuleMetricArrayOutput

type MonitorTagRuleMetricArrayOutput struct{ *pulumi.OutputState }

func (MonitorTagRuleMetricArrayOutput) ElementType

func (MonitorTagRuleMetricArrayOutput) Index

func (MonitorTagRuleMetricArrayOutput) ToMonitorTagRuleMetricArrayOutput

func (o MonitorTagRuleMetricArrayOutput) ToMonitorTagRuleMetricArrayOutput() MonitorTagRuleMetricArrayOutput

func (MonitorTagRuleMetricArrayOutput) ToMonitorTagRuleMetricArrayOutputWithContext

func (o MonitorTagRuleMetricArrayOutput) ToMonitorTagRuleMetricArrayOutputWithContext(ctx context.Context) MonitorTagRuleMetricArrayOutput

type MonitorTagRuleMetricFilter

type MonitorTagRuleMetricFilter struct {
	// Allowed values Include or Exclude.
	Action string `pulumi:"action"`
	// Name of the Tag.
	Name string `pulumi:"name"`
	// Value of the Tag.
	Value string `pulumi:"value"`
}

type MonitorTagRuleMetricFilterArgs

type MonitorTagRuleMetricFilterArgs struct {
	// Allowed values Include or Exclude.
	Action pulumi.StringInput `pulumi:"action"`
	// Name of the Tag.
	Name pulumi.StringInput `pulumi:"name"`
	// Value of the Tag.
	Value pulumi.StringInput `pulumi:"value"`
}

func (MonitorTagRuleMetricFilterArgs) ElementType

func (MonitorTagRuleMetricFilterArgs) ToMonitorTagRuleMetricFilterOutput

func (i MonitorTagRuleMetricFilterArgs) ToMonitorTagRuleMetricFilterOutput() MonitorTagRuleMetricFilterOutput

func (MonitorTagRuleMetricFilterArgs) ToMonitorTagRuleMetricFilterOutputWithContext

func (i MonitorTagRuleMetricFilterArgs) ToMonitorTagRuleMetricFilterOutputWithContext(ctx context.Context) MonitorTagRuleMetricFilterOutput

type MonitorTagRuleMetricFilterArray

type MonitorTagRuleMetricFilterArray []MonitorTagRuleMetricFilterInput

func (MonitorTagRuleMetricFilterArray) ElementType

func (MonitorTagRuleMetricFilterArray) ToMonitorTagRuleMetricFilterArrayOutput

func (i MonitorTagRuleMetricFilterArray) ToMonitorTagRuleMetricFilterArrayOutput() MonitorTagRuleMetricFilterArrayOutput

func (MonitorTagRuleMetricFilterArray) ToMonitorTagRuleMetricFilterArrayOutputWithContext

func (i MonitorTagRuleMetricFilterArray) ToMonitorTagRuleMetricFilterArrayOutputWithContext(ctx context.Context) MonitorTagRuleMetricFilterArrayOutput

type MonitorTagRuleMetricFilterArrayInput

type MonitorTagRuleMetricFilterArrayInput interface {
	pulumi.Input

	ToMonitorTagRuleMetricFilterArrayOutput() MonitorTagRuleMetricFilterArrayOutput
	ToMonitorTagRuleMetricFilterArrayOutputWithContext(context.Context) MonitorTagRuleMetricFilterArrayOutput
}

MonitorTagRuleMetricFilterArrayInput is an input type that accepts MonitorTagRuleMetricFilterArray and MonitorTagRuleMetricFilterArrayOutput values. You can construct a concrete instance of `MonitorTagRuleMetricFilterArrayInput` via:

MonitorTagRuleMetricFilterArray{ MonitorTagRuleMetricFilterArgs{...} }

type MonitorTagRuleMetricFilterArrayOutput

type MonitorTagRuleMetricFilterArrayOutput struct{ *pulumi.OutputState }

func (MonitorTagRuleMetricFilterArrayOutput) ElementType

func (MonitorTagRuleMetricFilterArrayOutput) Index

func (MonitorTagRuleMetricFilterArrayOutput) ToMonitorTagRuleMetricFilterArrayOutput

func (o MonitorTagRuleMetricFilterArrayOutput) ToMonitorTagRuleMetricFilterArrayOutput() MonitorTagRuleMetricFilterArrayOutput

func (MonitorTagRuleMetricFilterArrayOutput) ToMonitorTagRuleMetricFilterArrayOutputWithContext

func (o MonitorTagRuleMetricFilterArrayOutput) ToMonitorTagRuleMetricFilterArrayOutputWithContext(ctx context.Context) MonitorTagRuleMetricFilterArrayOutput

type MonitorTagRuleMetricFilterInput

type MonitorTagRuleMetricFilterInput interface {
	pulumi.Input

	ToMonitorTagRuleMetricFilterOutput() MonitorTagRuleMetricFilterOutput
	ToMonitorTagRuleMetricFilterOutputWithContext(context.Context) MonitorTagRuleMetricFilterOutput
}

MonitorTagRuleMetricFilterInput is an input type that accepts MonitorTagRuleMetricFilterArgs and MonitorTagRuleMetricFilterOutput values. You can construct a concrete instance of `MonitorTagRuleMetricFilterInput` via:

MonitorTagRuleMetricFilterArgs{...}

type MonitorTagRuleMetricFilterOutput

type MonitorTagRuleMetricFilterOutput struct{ *pulumi.OutputState }

func (MonitorTagRuleMetricFilterOutput) Action

Allowed values Include or Exclude.

func (MonitorTagRuleMetricFilterOutput) ElementType

func (MonitorTagRuleMetricFilterOutput) Name

Name of the Tag.

func (MonitorTagRuleMetricFilterOutput) ToMonitorTagRuleMetricFilterOutput

func (o MonitorTagRuleMetricFilterOutput) ToMonitorTagRuleMetricFilterOutput() MonitorTagRuleMetricFilterOutput

func (MonitorTagRuleMetricFilterOutput) ToMonitorTagRuleMetricFilterOutputWithContext

func (o MonitorTagRuleMetricFilterOutput) ToMonitorTagRuleMetricFilterOutputWithContext(ctx context.Context) MonitorTagRuleMetricFilterOutput

func (MonitorTagRuleMetricFilterOutput) Value

Value of the Tag.

type MonitorTagRuleMetricInput

type MonitorTagRuleMetricInput interface {
	pulumi.Input

	ToMonitorTagRuleMetricOutput() MonitorTagRuleMetricOutput
	ToMonitorTagRuleMetricOutputWithContext(context.Context) MonitorTagRuleMetricOutput
}

MonitorTagRuleMetricInput is an input type that accepts MonitorTagRuleMetricArgs and MonitorTagRuleMetricOutput values. You can construct a concrete instance of `MonitorTagRuleMetricInput` via:

MonitorTagRuleMetricArgs{...}

type MonitorTagRuleMetricOutput

type MonitorTagRuleMetricOutput struct{ *pulumi.OutputState }

func (MonitorTagRuleMetricOutput) ElementType

func (MonitorTagRuleMetricOutput) ElementType() reflect.Type

func (MonitorTagRuleMetricOutput) Filters

A `filter` block as defined below.

> **NOTE:** List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.

func (MonitorTagRuleMetricOutput) ToMonitorTagRuleMetricOutput

func (o MonitorTagRuleMetricOutput) ToMonitorTagRuleMetricOutput() MonitorTagRuleMetricOutput

func (MonitorTagRuleMetricOutput) ToMonitorTagRuleMetricOutputWithContext

func (o MonitorTagRuleMetricOutput) ToMonitorTagRuleMetricOutputWithContext(ctx context.Context) MonitorTagRuleMetricOutput

type MonitorTagRuleOutput

type MonitorTagRuleOutput struct{ *pulumi.OutputState }

func (MonitorTagRuleOutput) DatadogMonitorId

func (o MonitorTagRuleOutput) DatadogMonitorId() pulumi.StringOutput

The Datadog Monitor Id which should be used for this Datadog Monitor Tag Rule. Changing this forces a new Datadog Monitor Tag Rule to be created.

func (MonitorTagRuleOutput) ElementType

func (MonitorTagRuleOutput) ElementType() reflect.Type

func (MonitorTagRuleOutput) Logs

A `log` block as defined below.

func (MonitorTagRuleOutput) Metrics

A `metric` block as defined below.

func (MonitorTagRuleOutput) Name

The name of the Tag Rules configuration. The allowed value is `default`. Defaults to `default`.

func (MonitorTagRuleOutput) ToMonitorTagRuleOutput

func (o MonitorTagRuleOutput) ToMonitorTagRuleOutput() MonitorTagRuleOutput

func (MonitorTagRuleOutput) ToMonitorTagRuleOutputWithContext

func (o MonitorTagRuleOutput) ToMonitorTagRuleOutputWithContext(ctx context.Context) MonitorTagRuleOutput

type MonitorTagRuleState

type MonitorTagRuleState struct {
	// The Datadog Monitor Id which should be used for this Datadog Monitor Tag Rule. Changing this forces a new Datadog Monitor Tag Rule to be created.
	DatadogMonitorId pulumi.StringPtrInput
	// A `log` block as defined below.
	Logs MonitorTagRuleLogArrayInput
	// A `metric` block as defined below.
	Metrics MonitorTagRuleMetricArrayInput
	// The name of the Tag Rules configuration. The allowed value is `default`. Defaults to `default`.
	Name pulumi.StringPtrInput
}

func (MonitorTagRuleState) ElementType

func (MonitorTagRuleState) ElementType() reflect.Type

type MonitorUser

type MonitorUser struct {
	// Email of the user used by Datadog for contacting them if needed. Changing this forces a new Datadog Monitor to be created.
	Email string `pulumi:"email"`
	// The name which should be used for this user_info. Changing this forces a new resource to be created.
	Name string `pulumi:"name"`
	// Phone number of the user used by Datadog for contacting them if needed. Changing this forces a new resource to be created.
	PhoneNumber *string `pulumi:"phoneNumber"`
}

type MonitorUserArgs

type MonitorUserArgs struct {
	// Email of the user used by Datadog for contacting them if needed. Changing this forces a new Datadog Monitor to be created.
	Email pulumi.StringInput `pulumi:"email"`
	// The name which should be used for this user_info. Changing this forces a new resource to be created.
	Name pulumi.StringInput `pulumi:"name"`
	// Phone number of the user used by Datadog for contacting them if needed. Changing this forces a new resource to be created.
	PhoneNumber pulumi.StringPtrInput `pulumi:"phoneNumber"`
}

func (MonitorUserArgs) ElementType

func (MonitorUserArgs) ElementType() reflect.Type

func (MonitorUserArgs) ToMonitorUserOutput

func (i MonitorUserArgs) ToMonitorUserOutput() MonitorUserOutput

func (MonitorUserArgs) ToMonitorUserOutputWithContext

func (i MonitorUserArgs) ToMonitorUserOutputWithContext(ctx context.Context) MonitorUserOutput

func (MonitorUserArgs) ToMonitorUserPtrOutput

func (i MonitorUserArgs) ToMonitorUserPtrOutput() MonitorUserPtrOutput

func (MonitorUserArgs) ToMonitorUserPtrOutputWithContext

func (i MonitorUserArgs) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput

type MonitorUserInput

type MonitorUserInput interface {
	pulumi.Input

	ToMonitorUserOutput() MonitorUserOutput
	ToMonitorUserOutputWithContext(context.Context) MonitorUserOutput
}

MonitorUserInput is an input type that accepts MonitorUserArgs and MonitorUserOutput values. You can construct a concrete instance of `MonitorUserInput` via:

MonitorUserArgs{...}

type MonitorUserOutput

type MonitorUserOutput struct{ *pulumi.OutputState }

func (MonitorUserOutput) ElementType

func (MonitorUserOutput) ElementType() reflect.Type

func (MonitorUserOutput) Email

Email of the user used by Datadog for contacting them if needed. Changing this forces a new Datadog Monitor to be created.

func (MonitorUserOutput) Name

The name which should be used for this user_info. Changing this forces a new resource to be created.

func (MonitorUserOutput) PhoneNumber

func (o MonitorUserOutput) PhoneNumber() pulumi.StringPtrOutput

Phone number of the user used by Datadog for contacting them if needed. Changing this forces a new resource to be created.

func (MonitorUserOutput) ToMonitorUserOutput

func (o MonitorUserOutput) ToMonitorUserOutput() MonitorUserOutput

func (MonitorUserOutput) ToMonitorUserOutputWithContext

func (o MonitorUserOutput) ToMonitorUserOutputWithContext(ctx context.Context) MonitorUserOutput

func (MonitorUserOutput) ToMonitorUserPtrOutput

func (o MonitorUserOutput) ToMonitorUserPtrOutput() MonitorUserPtrOutput

func (MonitorUserOutput) ToMonitorUserPtrOutputWithContext

func (o MonitorUserOutput) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput

type MonitorUserPtrInput

type MonitorUserPtrInput interface {
	pulumi.Input

	ToMonitorUserPtrOutput() MonitorUserPtrOutput
	ToMonitorUserPtrOutputWithContext(context.Context) MonitorUserPtrOutput
}

MonitorUserPtrInput is an input type that accepts MonitorUserArgs, MonitorUserPtr and MonitorUserPtrOutput values. You can construct a concrete instance of `MonitorUserPtrInput` via:

        MonitorUserArgs{...}

or:

        nil

func MonitorUserPtr

func MonitorUserPtr(v *MonitorUserArgs) MonitorUserPtrInput

type MonitorUserPtrOutput

type MonitorUserPtrOutput struct{ *pulumi.OutputState }

func (MonitorUserPtrOutput) Elem

func (MonitorUserPtrOutput) ElementType

func (MonitorUserPtrOutput) ElementType() reflect.Type

func (MonitorUserPtrOutput) Email

Email of the user used by Datadog for contacting them if needed. Changing this forces a new Datadog Monitor to be created.

func (MonitorUserPtrOutput) Name

The name which should be used for this user_info. Changing this forces a new resource to be created.

func (MonitorUserPtrOutput) PhoneNumber

Phone number of the user used by Datadog for contacting them if needed. Changing this forces a new resource to be created.

func (MonitorUserPtrOutput) ToMonitorUserPtrOutput

func (o MonitorUserPtrOutput) ToMonitorUserPtrOutput() MonitorUserPtrOutput

func (MonitorUserPtrOutput) ToMonitorUserPtrOutputWithContext

func (o MonitorUserPtrOutput) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL