Documentation ¶
Index ¶
- type Monitor
- type MonitorArgs
- type MonitorArray
- type MonitorArrayInput
- type MonitorArrayOutput
- type MonitorDatadogOrganization
- type MonitorDatadogOrganizationArgs
- func (MonitorDatadogOrganizationArgs) ElementType() reflect.Type
- func (i MonitorDatadogOrganizationArgs) ToMonitorDatadogOrganizationOutput() MonitorDatadogOrganizationOutput
- func (i MonitorDatadogOrganizationArgs) ToMonitorDatadogOrganizationOutputWithContext(ctx context.Context) MonitorDatadogOrganizationOutput
- func (i MonitorDatadogOrganizationArgs) ToMonitorDatadogOrganizationPtrOutput() MonitorDatadogOrganizationPtrOutput
- func (i MonitorDatadogOrganizationArgs) ToMonitorDatadogOrganizationPtrOutputWithContext(ctx context.Context) MonitorDatadogOrganizationPtrOutput
- type MonitorDatadogOrganizationInput
- type MonitorDatadogOrganizationOutput
- func (o MonitorDatadogOrganizationOutput) ApiKey() pulumi.StringOutput
- func (o MonitorDatadogOrganizationOutput) ApplicationKey() pulumi.StringOutput
- func (MonitorDatadogOrganizationOutput) ElementType() reflect.Type
- func (o MonitorDatadogOrganizationOutput) EnterpriseAppId() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationOutput) Id() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationOutput) LinkingAuthCode() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationOutput) LinkingClientId() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationOutput) Name() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationOutput) RedirectUri() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationOutput) ToMonitorDatadogOrganizationOutput() MonitorDatadogOrganizationOutput
- func (o MonitorDatadogOrganizationOutput) ToMonitorDatadogOrganizationOutputWithContext(ctx context.Context) MonitorDatadogOrganizationOutput
- func (o MonitorDatadogOrganizationOutput) ToMonitorDatadogOrganizationPtrOutput() MonitorDatadogOrganizationPtrOutput
- func (o MonitorDatadogOrganizationOutput) ToMonitorDatadogOrganizationPtrOutputWithContext(ctx context.Context) MonitorDatadogOrganizationPtrOutput
- type MonitorDatadogOrganizationPtrInput
- type MonitorDatadogOrganizationPtrOutput
- func (o MonitorDatadogOrganizationPtrOutput) ApiKey() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationPtrOutput) ApplicationKey() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationPtrOutput) Elem() MonitorDatadogOrganizationOutput
- func (MonitorDatadogOrganizationPtrOutput) ElementType() reflect.Type
- func (o MonitorDatadogOrganizationPtrOutput) EnterpriseAppId() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationPtrOutput) Id() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationPtrOutput) LinkingAuthCode() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationPtrOutput) LinkingClientId() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationPtrOutput) Name() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationPtrOutput) RedirectUri() pulumi.StringPtrOutput
- func (o MonitorDatadogOrganizationPtrOutput) ToMonitorDatadogOrganizationPtrOutput() MonitorDatadogOrganizationPtrOutput
- func (o MonitorDatadogOrganizationPtrOutput) ToMonitorDatadogOrganizationPtrOutputWithContext(ctx context.Context) MonitorDatadogOrganizationPtrOutput
- type MonitorIdentity
- type MonitorIdentityArgs
- func (MonitorIdentityArgs) ElementType() reflect.Type
- func (i MonitorIdentityArgs) ToMonitorIdentityOutput() MonitorIdentityOutput
- func (i MonitorIdentityArgs) ToMonitorIdentityOutputWithContext(ctx context.Context) MonitorIdentityOutput
- func (i MonitorIdentityArgs) ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput
- func (i MonitorIdentityArgs) ToMonitorIdentityPtrOutputWithContext(ctx context.Context) MonitorIdentityPtrOutput
- type MonitorIdentityInput
- type MonitorIdentityOutput
- func (MonitorIdentityOutput) ElementType() reflect.Type
- func (o MonitorIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o MonitorIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o MonitorIdentityOutput) ToMonitorIdentityOutput() MonitorIdentityOutput
- func (o MonitorIdentityOutput) ToMonitorIdentityOutputWithContext(ctx context.Context) MonitorIdentityOutput
- func (o MonitorIdentityOutput) ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput
- func (o MonitorIdentityOutput) ToMonitorIdentityPtrOutputWithContext(ctx context.Context) MonitorIdentityPtrOutput
- func (o MonitorIdentityOutput) Type() pulumi.StringOutput
- type MonitorIdentityPtrInput
- type MonitorIdentityPtrOutput
- func (o MonitorIdentityPtrOutput) Elem() MonitorIdentityOutput
- func (MonitorIdentityPtrOutput) ElementType() reflect.Type
- func (o MonitorIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o MonitorIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o MonitorIdentityPtrOutput) ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput
- func (o MonitorIdentityPtrOutput) ToMonitorIdentityPtrOutputWithContext(ctx context.Context) MonitorIdentityPtrOutput
- func (o MonitorIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type MonitorInput
- type MonitorMap
- type MonitorMapInput
- type MonitorMapOutput
- type MonitorOutput
- func (o MonitorOutput) DatadogOrganization() MonitorDatadogOrganizationOutput
- func (MonitorOutput) ElementType() reflect.Type
- func (o MonitorOutput) Identity() MonitorIdentityPtrOutput
- func (o MonitorOutput) Location() pulumi.StringOutput
- func (o MonitorOutput) MarketplaceSubscriptionStatus() pulumi.StringOutput
- func (o MonitorOutput) MonitoringEnabled() pulumi.BoolPtrOutput
- func (o MonitorOutput) Name() pulumi.StringOutput
- func (o MonitorOutput) ResourceGroupName() pulumi.StringOutput
- func (o MonitorOutput) SkuName() pulumi.StringOutput
- func (o MonitorOutput) Tags() pulumi.StringMapOutput
- func (o MonitorOutput) ToMonitorOutput() MonitorOutput
- func (o MonitorOutput) ToMonitorOutputWithContext(ctx context.Context) MonitorOutput
- func (o MonitorOutput) User() MonitorUserOutput
- type MonitorSsoConfiguration
- type MonitorSsoConfigurationArgs
- type MonitorSsoConfigurationArray
- func (MonitorSsoConfigurationArray) ElementType() reflect.Type
- func (i MonitorSsoConfigurationArray) ToMonitorSsoConfigurationArrayOutput() MonitorSsoConfigurationArrayOutput
- func (i MonitorSsoConfigurationArray) ToMonitorSsoConfigurationArrayOutputWithContext(ctx context.Context) MonitorSsoConfigurationArrayOutput
- type MonitorSsoConfigurationArrayInput
- type MonitorSsoConfigurationArrayOutput
- func (MonitorSsoConfigurationArrayOutput) ElementType() reflect.Type
- func (o MonitorSsoConfigurationArrayOutput) Index(i pulumi.IntInput) MonitorSsoConfigurationOutput
- func (o MonitorSsoConfigurationArrayOutput) ToMonitorSsoConfigurationArrayOutput() MonitorSsoConfigurationArrayOutput
- func (o MonitorSsoConfigurationArrayOutput) ToMonitorSsoConfigurationArrayOutputWithContext(ctx context.Context) MonitorSsoConfigurationArrayOutput
- type MonitorSsoConfigurationInput
- type MonitorSsoConfigurationMap
- func (MonitorSsoConfigurationMap) ElementType() reflect.Type
- func (i MonitorSsoConfigurationMap) ToMonitorSsoConfigurationMapOutput() MonitorSsoConfigurationMapOutput
- func (i MonitorSsoConfigurationMap) ToMonitorSsoConfigurationMapOutputWithContext(ctx context.Context) MonitorSsoConfigurationMapOutput
- type MonitorSsoConfigurationMapInput
- type MonitorSsoConfigurationMapOutput
- func (MonitorSsoConfigurationMapOutput) ElementType() reflect.Type
- func (o MonitorSsoConfigurationMapOutput) MapIndex(k pulumi.StringInput) MonitorSsoConfigurationOutput
- func (o MonitorSsoConfigurationMapOutput) ToMonitorSsoConfigurationMapOutput() MonitorSsoConfigurationMapOutput
- func (o MonitorSsoConfigurationMapOutput) ToMonitorSsoConfigurationMapOutputWithContext(ctx context.Context) MonitorSsoConfigurationMapOutput
- type MonitorSsoConfigurationOutput
- func (o MonitorSsoConfigurationOutput) DatadogMonitorId() pulumi.StringOutput
- func (MonitorSsoConfigurationOutput) ElementType() reflect.Type
- func (o MonitorSsoConfigurationOutput) EnterpriseApplicationId() pulumi.StringOutput
- func (o MonitorSsoConfigurationOutput) LoginUrl() pulumi.StringOutput
- func (o MonitorSsoConfigurationOutput) Name() pulumi.StringOutput
- func (o MonitorSsoConfigurationOutput) SingleSignOnEnabled() pulumi.StringOutput
- func (o MonitorSsoConfigurationOutput) ToMonitorSsoConfigurationOutput() MonitorSsoConfigurationOutput
- func (o MonitorSsoConfigurationOutput) ToMonitorSsoConfigurationOutputWithContext(ctx context.Context) MonitorSsoConfigurationOutput
- type MonitorSsoConfigurationState
- type MonitorState
- type MonitorTagRule
- type MonitorTagRuleArgs
- type MonitorTagRuleArray
- type MonitorTagRuleArrayInput
- type MonitorTagRuleArrayOutput
- func (MonitorTagRuleArrayOutput) ElementType() reflect.Type
- func (o MonitorTagRuleArrayOutput) Index(i pulumi.IntInput) MonitorTagRuleOutput
- func (o MonitorTagRuleArrayOutput) ToMonitorTagRuleArrayOutput() MonitorTagRuleArrayOutput
- func (o MonitorTagRuleArrayOutput) ToMonitorTagRuleArrayOutputWithContext(ctx context.Context) MonitorTagRuleArrayOutput
- type MonitorTagRuleInput
- type MonitorTagRuleLog
- type MonitorTagRuleLogArgs
- type MonitorTagRuleLogArray
- type MonitorTagRuleLogArrayInput
- type MonitorTagRuleLogArrayOutput
- func (MonitorTagRuleLogArrayOutput) ElementType() reflect.Type
- func (o MonitorTagRuleLogArrayOutput) Index(i pulumi.IntInput) MonitorTagRuleLogOutput
- func (o MonitorTagRuleLogArrayOutput) ToMonitorTagRuleLogArrayOutput() MonitorTagRuleLogArrayOutput
- func (o MonitorTagRuleLogArrayOutput) ToMonitorTagRuleLogArrayOutputWithContext(ctx context.Context) MonitorTagRuleLogArrayOutput
- type MonitorTagRuleLogFilter
- type MonitorTagRuleLogFilterArgs
- type MonitorTagRuleLogFilterArray
- func (MonitorTagRuleLogFilterArray) ElementType() reflect.Type
- func (i MonitorTagRuleLogFilterArray) ToMonitorTagRuleLogFilterArrayOutput() MonitorTagRuleLogFilterArrayOutput
- func (i MonitorTagRuleLogFilterArray) ToMonitorTagRuleLogFilterArrayOutputWithContext(ctx context.Context) MonitorTagRuleLogFilterArrayOutput
- type MonitorTagRuleLogFilterArrayInput
- type MonitorTagRuleLogFilterArrayOutput
- func (MonitorTagRuleLogFilterArrayOutput) ElementType() reflect.Type
- func (o MonitorTagRuleLogFilterArrayOutput) Index(i pulumi.IntInput) MonitorTagRuleLogFilterOutput
- func (o MonitorTagRuleLogFilterArrayOutput) ToMonitorTagRuleLogFilterArrayOutput() MonitorTagRuleLogFilterArrayOutput
- func (o MonitorTagRuleLogFilterArrayOutput) ToMonitorTagRuleLogFilterArrayOutputWithContext(ctx context.Context) MonitorTagRuleLogFilterArrayOutput
- type MonitorTagRuleLogFilterInput
- type MonitorTagRuleLogFilterOutput
- func (o MonitorTagRuleLogFilterOutput) Action() pulumi.StringOutput
- func (MonitorTagRuleLogFilterOutput) ElementType() reflect.Type
- func (o MonitorTagRuleLogFilterOutput) Name() pulumi.StringOutput
- func (o MonitorTagRuleLogFilterOutput) ToMonitorTagRuleLogFilterOutput() MonitorTagRuleLogFilterOutput
- func (o MonitorTagRuleLogFilterOutput) ToMonitorTagRuleLogFilterOutputWithContext(ctx context.Context) MonitorTagRuleLogFilterOutput
- func (o MonitorTagRuleLogFilterOutput) Value() pulumi.StringOutput
- type MonitorTagRuleLogInput
- type MonitorTagRuleLogOutput
- func (o MonitorTagRuleLogOutput) AadLogEnabled() pulumi.BoolPtrOutput
- func (MonitorTagRuleLogOutput) ElementType() reflect.Type
- func (o MonitorTagRuleLogOutput) Filters() MonitorTagRuleLogFilterArrayOutput
- func (o MonitorTagRuleLogOutput) ResourceLogEnabled() pulumi.BoolPtrOutput
- func (o MonitorTagRuleLogOutput) SubscriptionLogEnabled() pulumi.BoolPtrOutput
- func (o MonitorTagRuleLogOutput) ToMonitorTagRuleLogOutput() MonitorTagRuleLogOutput
- func (o MonitorTagRuleLogOutput) ToMonitorTagRuleLogOutputWithContext(ctx context.Context) MonitorTagRuleLogOutput
- type MonitorTagRuleMap
- type MonitorTagRuleMapInput
- type MonitorTagRuleMapOutput
- func (MonitorTagRuleMapOutput) ElementType() reflect.Type
- func (o MonitorTagRuleMapOutput) MapIndex(k pulumi.StringInput) MonitorTagRuleOutput
- func (o MonitorTagRuleMapOutput) ToMonitorTagRuleMapOutput() MonitorTagRuleMapOutput
- func (o MonitorTagRuleMapOutput) ToMonitorTagRuleMapOutputWithContext(ctx context.Context) MonitorTagRuleMapOutput
- type MonitorTagRuleMetric
- type MonitorTagRuleMetricArgs
- type MonitorTagRuleMetricArray
- type MonitorTagRuleMetricArrayInput
- type MonitorTagRuleMetricArrayOutput
- func (MonitorTagRuleMetricArrayOutput) ElementType() reflect.Type
- func (o MonitorTagRuleMetricArrayOutput) Index(i pulumi.IntInput) MonitorTagRuleMetricOutput
- func (o MonitorTagRuleMetricArrayOutput) ToMonitorTagRuleMetricArrayOutput() MonitorTagRuleMetricArrayOutput
- func (o MonitorTagRuleMetricArrayOutput) ToMonitorTagRuleMetricArrayOutputWithContext(ctx context.Context) MonitorTagRuleMetricArrayOutput
- type MonitorTagRuleMetricFilter
- type MonitorTagRuleMetricFilterArgs
- func (MonitorTagRuleMetricFilterArgs) ElementType() reflect.Type
- func (i MonitorTagRuleMetricFilterArgs) ToMonitorTagRuleMetricFilterOutput() MonitorTagRuleMetricFilterOutput
- func (i MonitorTagRuleMetricFilterArgs) ToMonitorTagRuleMetricFilterOutputWithContext(ctx context.Context) MonitorTagRuleMetricFilterOutput
- type MonitorTagRuleMetricFilterArray
- func (MonitorTagRuleMetricFilterArray) ElementType() reflect.Type
- func (i MonitorTagRuleMetricFilterArray) ToMonitorTagRuleMetricFilterArrayOutput() MonitorTagRuleMetricFilterArrayOutput
- func (i MonitorTagRuleMetricFilterArray) ToMonitorTagRuleMetricFilterArrayOutputWithContext(ctx context.Context) MonitorTagRuleMetricFilterArrayOutput
- type MonitorTagRuleMetricFilterArrayInput
- type MonitorTagRuleMetricFilterArrayOutput
- func (MonitorTagRuleMetricFilterArrayOutput) ElementType() reflect.Type
- func (o MonitorTagRuleMetricFilterArrayOutput) Index(i pulumi.IntInput) MonitorTagRuleMetricFilterOutput
- func (o MonitorTagRuleMetricFilterArrayOutput) ToMonitorTagRuleMetricFilterArrayOutput() MonitorTagRuleMetricFilterArrayOutput
- func (o MonitorTagRuleMetricFilterArrayOutput) ToMonitorTagRuleMetricFilterArrayOutputWithContext(ctx context.Context) MonitorTagRuleMetricFilterArrayOutput
- type MonitorTagRuleMetricFilterInput
- type MonitorTagRuleMetricFilterOutput
- func (o MonitorTagRuleMetricFilterOutput) Action() pulumi.StringOutput
- func (MonitorTagRuleMetricFilterOutput) ElementType() reflect.Type
- func (o MonitorTagRuleMetricFilterOutput) Name() pulumi.StringOutput
- func (o MonitorTagRuleMetricFilterOutput) ToMonitorTagRuleMetricFilterOutput() MonitorTagRuleMetricFilterOutput
- func (o MonitorTagRuleMetricFilterOutput) ToMonitorTagRuleMetricFilterOutputWithContext(ctx context.Context) MonitorTagRuleMetricFilterOutput
- func (o MonitorTagRuleMetricFilterOutput) Value() pulumi.StringOutput
- type MonitorTagRuleMetricInput
- type MonitorTagRuleMetricOutput
- func (MonitorTagRuleMetricOutput) ElementType() reflect.Type
- func (o MonitorTagRuleMetricOutput) Filters() MonitorTagRuleMetricFilterArrayOutput
- func (o MonitorTagRuleMetricOutput) ToMonitorTagRuleMetricOutput() MonitorTagRuleMetricOutput
- func (o MonitorTagRuleMetricOutput) ToMonitorTagRuleMetricOutputWithContext(ctx context.Context) MonitorTagRuleMetricOutput
- type MonitorTagRuleOutput
- func (o MonitorTagRuleOutput) DatadogMonitorId() pulumi.StringOutput
- func (MonitorTagRuleOutput) ElementType() reflect.Type
- func (o MonitorTagRuleOutput) Logs() MonitorTagRuleLogArrayOutput
- func (o MonitorTagRuleOutput) Metrics() MonitorTagRuleMetricArrayOutput
- func (o MonitorTagRuleOutput) Name() pulumi.StringOutput
- func (o MonitorTagRuleOutput) ToMonitorTagRuleOutput() MonitorTagRuleOutput
- func (o MonitorTagRuleOutput) ToMonitorTagRuleOutputWithContext(ctx context.Context) MonitorTagRuleOutput
- type MonitorTagRuleState
- type MonitorUser
- type MonitorUserArgs
- func (MonitorUserArgs) ElementType() reflect.Type
- func (i MonitorUserArgs) ToMonitorUserOutput() MonitorUserOutput
- func (i MonitorUserArgs) ToMonitorUserOutputWithContext(ctx context.Context) MonitorUserOutput
- func (i MonitorUserArgs) ToMonitorUserPtrOutput() MonitorUserPtrOutput
- func (i MonitorUserArgs) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput
- type MonitorUserInput
- type MonitorUserOutput
- func (MonitorUserOutput) ElementType() reflect.Type
- func (o MonitorUserOutput) Email() pulumi.StringOutput
- func (o MonitorUserOutput) Name() pulumi.StringOutput
- func (o MonitorUserOutput) PhoneNumber() pulumi.StringPtrOutput
- func (o MonitorUserOutput) ToMonitorUserOutput() MonitorUserOutput
- func (o MonitorUserOutput) ToMonitorUserOutputWithContext(ctx context.Context) MonitorUserOutput
- func (o MonitorUserOutput) ToMonitorUserPtrOutput() MonitorUserPtrOutput
- func (o MonitorUserOutput) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput
- type MonitorUserPtrInput
- type MonitorUserPtrOutput
- func (o MonitorUserPtrOutput) Elem() MonitorUserOutput
- func (MonitorUserPtrOutput) ElementType() reflect.Type
- func (o MonitorUserPtrOutput) Email() pulumi.StringPtrOutput
- func (o MonitorUserPtrOutput) Name() pulumi.StringPtrOutput
- func (o MonitorUserPtrOutput) PhoneNumber() pulumi.StringPtrOutput
- func (o MonitorUserPtrOutput) ToMonitorUserPtrOutput() MonitorUserPtrOutput
- func (o MonitorUserPtrOutput) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput
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/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datadog" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West US 2"), }) if err != nil { return err } _, err = datadog.NewMonitor(ctx, "exampleMonitor", &datadog.MonitorArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.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/v5/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v5/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, nil, 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(azurerm_datadog_monitor.Example.Identity[0].Principal_id), }) 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) 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 (o MonitorArrayOutput) Index(i pulumi.IntInput) MonitorOutput
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) ElementType() reflect.Type
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 ¶
func (o MonitorDatadogOrganizationOutput) ApiKey() pulumi.StringOutput
Api key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.
func (MonitorDatadogOrganizationOutput) ApplicationKey ¶
func (o MonitorDatadogOrganizationOutput) ApplicationKey() pulumi.StringOutput
Application key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.
func (MonitorDatadogOrganizationOutput) ElementType ¶
func (MonitorDatadogOrganizationOutput) ElementType() reflect.Type
func (MonitorDatadogOrganizationOutput) EnterpriseAppId ¶
func (o MonitorDatadogOrganizationOutput) EnterpriseAppId() pulumi.StringPtrOutput
The ID of the enterprise_app. Changing this forces a new resource to be created.
func (MonitorDatadogOrganizationOutput) Id ¶
func (o MonitorDatadogOrganizationOutput) Id() pulumi.StringPtrOutput
The ID of the Datadog Monitor.
func (MonitorDatadogOrganizationOutput) LinkingAuthCode ¶
func (o MonitorDatadogOrganizationOutput) LinkingAuthCode() pulumi.StringPtrOutput
The auth code used to linking to an existing Datadog organization. Changing this forces a new Datadog Monitor to be created.
func (MonitorDatadogOrganizationOutput) LinkingClientId ¶
func (o MonitorDatadogOrganizationOutput) LinkingClientId() pulumi.StringPtrOutput
The ID of the linking_client. Changing this forces a new Datadog Monitor to be created.
func (MonitorDatadogOrganizationOutput) Name ¶
func (o MonitorDatadogOrganizationOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o MonitorDatadogOrganizationOutput) RedirectUri() pulumi.StringPtrOutput
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
func MonitorDatadogOrganizationPtr ¶
func MonitorDatadogOrganizationPtr(v *MonitorDatadogOrganizationArgs) MonitorDatadogOrganizationPtrInput
type MonitorDatadogOrganizationPtrOutput ¶
type MonitorDatadogOrganizationPtrOutput struct{ *pulumi.OutputState }
func (MonitorDatadogOrganizationPtrOutput) ApiKey ¶
func (o MonitorDatadogOrganizationPtrOutput) ApiKey() pulumi.StringPtrOutput
Api key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.
func (MonitorDatadogOrganizationPtrOutput) ApplicationKey ¶
func (o MonitorDatadogOrganizationPtrOutput) ApplicationKey() pulumi.StringPtrOutput
Application key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.
func (MonitorDatadogOrganizationPtrOutput) Elem ¶
func (o MonitorDatadogOrganizationPtrOutput) Elem() MonitorDatadogOrganizationOutput
func (MonitorDatadogOrganizationPtrOutput) ElementType ¶
func (MonitorDatadogOrganizationPtrOutput) ElementType() reflect.Type
func (MonitorDatadogOrganizationPtrOutput) EnterpriseAppId ¶
func (o MonitorDatadogOrganizationPtrOutput) EnterpriseAppId() pulumi.StringPtrOutput
The ID of the enterprise_app. Changing this forces a new resource to be created.
func (MonitorDatadogOrganizationPtrOutput) Id ¶
func (o MonitorDatadogOrganizationPtrOutput) Id() pulumi.StringPtrOutput
The ID of the Datadog Monitor.
func (MonitorDatadogOrganizationPtrOutput) LinkingAuthCode ¶
func (o MonitorDatadogOrganizationPtrOutput) LinkingAuthCode() pulumi.StringPtrOutput
The auth code used to linking to an existing Datadog organization. Changing this forces a new Datadog Monitor to be created.
func (MonitorDatadogOrganizationPtrOutput) LinkingClientId ¶
func (o MonitorDatadogOrganizationPtrOutput) LinkingClientId() pulumi.StringPtrOutput
The ID of the linking_client. Changing this forces a new Datadog Monitor to be created.
func (MonitorDatadogOrganizationPtrOutput) Name ¶
func (o MonitorDatadogOrganizationPtrOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o MonitorDatadogOrganizationPtrOutput) RedirectUri() pulumi.StringPtrOutput
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 ¶
func (o MonitorIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Identity of this Datadog Monitor.
func (MonitorIdentityOutput) TenantId ¶
func (o MonitorIdentityOutput) TenantId() pulumi.StringPtrOutput
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 ¶
func (o MonitorIdentityOutput) Type() pulumi.StringOutput
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
func MonitorIdentityPtr ¶
func MonitorIdentityPtr(v *MonitorIdentityArgs) MonitorIdentityPtrInput
type MonitorIdentityPtrOutput ¶
type MonitorIdentityPtrOutput struct{ *pulumi.OutputState }
func (MonitorIdentityPtrOutput) Elem ¶
func (o MonitorIdentityPtrOutput) Elem() MonitorIdentityOutput
func (MonitorIdentityPtrOutput) ElementType ¶
func (MonitorIdentityPtrOutput) ElementType() reflect.Type
func (MonitorIdentityPtrOutput) PrincipalId ¶
func (o MonitorIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Identity of this Datadog Monitor.
func (MonitorIdentityPtrOutput) TenantId ¶
func (o MonitorIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
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 ¶
func (o MonitorIdentityPtrOutput) Type() pulumi.StringPtrOutput
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 (o MonitorMapOutput) MapIndex(k pulumi.StringInput) MonitorOutput
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 ¶
func (o MonitorOutput) Identity() MonitorIdentityPtrOutput
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 ¶
func (o MonitorOutput) Name() pulumi.StringOutput
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 ¶
func (o MonitorOutput) Tags() pulumi.StringMapOutput
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 ¶
func (o MonitorOutput) User() MonitorUserOutput
A `user` block as defined below.
type MonitorSsoConfiguration ¶ added in v5.24.0
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/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datadog" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West US 2"), }) if err != nil { return err } exampleMonitor, err := datadog.NewMonitor(ctx, "exampleMonitor", &datadog.MonitorArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.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, "exampleMonitorSsoConfiguration", &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 ¶ added in v5.24.0
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 ¶ added in v5.24.0
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 ¶ added in v5.24.0
func (*MonitorSsoConfiguration) ElementType() reflect.Type
func (*MonitorSsoConfiguration) ToMonitorSsoConfigurationOutput ¶ added in v5.24.0
func (i *MonitorSsoConfiguration) ToMonitorSsoConfigurationOutput() MonitorSsoConfigurationOutput
func (*MonitorSsoConfiguration) ToMonitorSsoConfigurationOutputWithContext ¶ added in v5.24.0
func (i *MonitorSsoConfiguration) ToMonitorSsoConfigurationOutputWithContext(ctx context.Context) MonitorSsoConfigurationOutput
type MonitorSsoConfigurationArgs ¶ added in v5.24.0
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 ¶ added in v5.24.0
func (MonitorSsoConfigurationArgs) ElementType() reflect.Type
type MonitorSsoConfigurationArray ¶ added in v5.24.0
type MonitorSsoConfigurationArray []MonitorSsoConfigurationInput
func (MonitorSsoConfigurationArray) ElementType ¶ added in v5.24.0
func (MonitorSsoConfigurationArray) ElementType() reflect.Type
func (MonitorSsoConfigurationArray) ToMonitorSsoConfigurationArrayOutput ¶ added in v5.24.0
func (i MonitorSsoConfigurationArray) ToMonitorSsoConfigurationArrayOutput() MonitorSsoConfigurationArrayOutput
func (MonitorSsoConfigurationArray) ToMonitorSsoConfigurationArrayOutputWithContext ¶ added in v5.24.0
func (i MonitorSsoConfigurationArray) ToMonitorSsoConfigurationArrayOutputWithContext(ctx context.Context) MonitorSsoConfigurationArrayOutput
type MonitorSsoConfigurationArrayInput ¶ added in v5.24.0
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 ¶ added in v5.24.0
type MonitorSsoConfigurationArrayOutput struct{ *pulumi.OutputState }
func (MonitorSsoConfigurationArrayOutput) ElementType ¶ added in v5.24.0
func (MonitorSsoConfigurationArrayOutput) ElementType() reflect.Type
func (MonitorSsoConfigurationArrayOutput) Index ¶ added in v5.24.0
func (o MonitorSsoConfigurationArrayOutput) Index(i pulumi.IntInput) MonitorSsoConfigurationOutput
func (MonitorSsoConfigurationArrayOutput) ToMonitorSsoConfigurationArrayOutput ¶ added in v5.24.0
func (o MonitorSsoConfigurationArrayOutput) ToMonitorSsoConfigurationArrayOutput() MonitorSsoConfigurationArrayOutput
func (MonitorSsoConfigurationArrayOutput) ToMonitorSsoConfigurationArrayOutputWithContext ¶ added in v5.24.0
func (o MonitorSsoConfigurationArrayOutput) ToMonitorSsoConfigurationArrayOutputWithContext(ctx context.Context) MonitorSsoConfigurationArrayOutput
type MonitorSsoConfigurationInput ¶ added in v5.24.0
type MonitorSsoConfigurationInput interface { pulumi.Input ToMonitorSsoConfigurationOutput() MonitorSsoConfigurationOutput ToMonitorSsoConfigurationOutputWithContext(ctx context.Context) MonitorSsoConfigurationOutput }
type MonitorSsoConfigurationMap ¶ added in v5.24.0
type MonitorSsoConfigurationMap map[string]MonitorSsoConfigurationInput
func (MonitorSsoConfigurationMap) ElementType ¶ added in v5.24.0
func (MonitorSsoConfigurationMap) ElementType() reflect.Type
func (MonitorSsoConfigurationMap) ToMonitorSsoConfigurationMapOutput ¶ added in v5.24.0
func (i MonitorSsoConfigurationMap) ToMonitorSsoConfigurationMapOutput() MonitorSsoConfigurationMapOutput
func (MonitorSsoConfigurationMap) ToMonitorSsoConfigurationMapOutputWithContext ¶ added in v5.24.0
func (i MonitorSsoConfigurationMap) ToMonitorSsoConfigurationMapOutputWithContext(ctx context.Context) MonitorSsoConfigurationMapOutput
type MonitorSsoConfigurationMapInput ¶ added in v5.24.0
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 ¶ added in v5.24.0
type MonitorSsoConfigurationMapOutput struct{ *pulumi.OutputState }
func (MonitorSsoConfigurationMapOutput) ElementType ¶ added in v5.24.0
func (MonitorSsoConfigurationMapOutput) ElementType() reflect.Type
func (MonitorSsoConfigurationMapOutput) MapIndex ¶ added in v5.24.0
func (o MonitorSsoConfigurationMapOutput) MapIndex(k pulumi.StringInput) MonitorSsoConfigurationOutput
func (MonitorSsoConfigurationMapOutput) ToMonitorSsoConfigurationMapOutput ¶ added in v5.24.0
func (o MonitorSsoConfigurationMapOutput) ToMonitorSsoConfigurationMapOutput() MonitorSsoConfigurationMapOutput
func (MonitorSsoConfigurationMapOutput) ToMonitorSsoConfigurationMapOutputWithContext ¶ added in v5.24.0
func (o MonitorSsoConfigurationMapOutput) ToMonitorSsoConfigurationMapOutputWithContext(ctx context.Context) MonitorSsoConfigurationMapOutput
type MonitorSsoConfigurationOutput ¶ added in v5.24.0
type MonitorSsoConfigurationOutput struct{ *pulumi.OutputState }
func (MonitorSsoConfigurationOutput) DatadogMonitorId ¶ added in v5.24.0
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 ¶ added in v5.24.0
func (MonitorSsoConfigurationOutput) ElementType() reflect.Type
func (MonitorSsoConfigurationOutput) EnterpriseApplicationId ¶ added in v5.24.0
func (o MonitorSsoConfigurationOutput) EnterpriseApplicationId() pulumi.StringOutput
The application Id to perform SSO operation.
func (MonitorSsoConfigurationOutput) LoginUrl ¶ added in v5.24.0
func (o MonitorSsoConfigurationOutput) LoginUrl() pulumi.StringOutput
The SingleSignOn URL to login to Datadog org.
func (MonitorSsoConfigurationOutput) Name ¶ added in v5.24.0
func (o MonitorSsoConfigurationOutput) Name() pulumi.StringOutput
The name of the SingleSignOn configuration. Defaults to `default`.
func (MonitorSsoConfigurationOutput) SingleSignOnEnabled ¶ added in v5.24.0
func (o MonitorSsoConfigurationOutput) SingleSignOnEnabled() pulumi.StringOutput
The state of SingleSignOn configuration. Possible values are `Enable` and `Disable`.
func (MonitorSsoConfigurationOutput) ToMonitorSsoConfigurationOutput ¶ added in v5.24.0
func (o MonitorSsoConfigurationOutput) ToMonitorSsoConfigurationOutput() MonitorSsoConfigurationOutput
func (MonitorSsoConfigurationOutput) ToMonitorSsoConfigurationOutputWithContext ¶ added in v5.24.0
func (o MonitorSsoConfigurationOutput) ToMonitorSsoConfigurationOutputWithContext(ctx context.Context) MonitorSsoConfigurationOutput
type MonitorSsoConfigurationState ¶ added in v5.24.0
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 ¶ added in v5.24.0
func (MonitorSsoConfigurationState) ElementType() reflect.Type
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 ¶ added in v5.24.0
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/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datadog" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West US 2"), }) if err != nil { return err } exampleMonitor, err := datadog.NewMonitor(ctx, "exampleMonitor", &datadog.MonitorArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.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, "exampleMonitorTagRule", &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 ¶ added in v5.24.0
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 ¶ added in v5.24.0
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 ¶ added in v5.24.0
func (*MonitorTagRule) ElementType() reflect.Type
func (*MonitorTagRule) ToMonitorTagRuleOutput ¶ added in v5.24.0
func (i *MonitorTagRule) ToMonitorTagRuleOutput() MonitorTagRuleOutput
func (*MonitorTagRule) ToMonitorTagRuleOutputWithContext ¶ added in v5.24.0
func (i *MonitorTagRule) ToMonitorTagRuleOutputWithContext(ctx context.Context) MonitorTagRuleOutput
type MonitorTagRuleArgs ¶ added in v5.24.0
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 ¶ added in v5.24.0
func (MonitorTagRuleArgs) ElementType() reflect.Type
type MonitorTagRuleArray ¶ added in v5.24.0
type MonitorTagRuleArray []MonitorTagRuleInput
func (MonitorTagRuleArray) ElementType ¶ added in v5.24.0
func (MonitorTagRuleArray) ElementType() reflect.Type
func (MonitorTagRuleArray) ToMonitorTagRuleArrayOutput ¶ added in v5.24.0
func (i MonitorTagRuleArray) ToMonitorTagRuleArrayOutput() MonitorTagRuleArrayOutput
func (MonitorTagRuleArray) ToMonitorTagRuleArrayOutputWithContext ¶ added in v5.24.0
func (i MonitorTagRuleArray) ToMonitorTagRuleArrayOutputWithContext(ctx context.Context) MonitorTagRuleArrayOutput
type MonitorTagRuleArrayInput ¶ added in v5.24.0
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 ¶ added in v5.24.0
type MonitorTagRuleArrayOutput struct{ *pulumi.OutputState }
func (MonitorTagRuleArrayOutput) ElementType ¶ added in v5.24.0
func (MonitorTagRuleArrayOutput) ElementType() reflect.Type
func (MonitorTagRuleArrayOutput) Index ¶ added in v5.24.0
func (o MonitorTagRuleArrayOutput) Index(i pulumi.IntInput) MonitorTagRuleOutput
func (MonitorTagRuleArrayOutput) ToMonitorTagRuleArrayOutput ¶ added in v5.24.0
func (o MonitorTagRuleArrayOutput) ToMonitorTagRuleArrayOutput() MonitorTagRuleArrayOutput
func (MonitorTagRuleArrayOutput) ToMonitorTagRuleArrayOutputWithContext ¶ added in v5.24.0
func (o MonitorTagRuleArrayOutput) ToMonitorTagRuleArrayOutputWithContext(ctx context.Context) MonitorTagRuleArrayOutput
type MonitorTagRuleInput ¶ added in v5.24.0
type MonitorTagRuleInput interface { pulumi.Input ToMonitorTagRuleOutput() MonitorTagRuleOutput ToMonitorTagRuleOutputWithContext(ctx context.Context) MonitorTagRuleOutput }
type MonitorTagRuleLog ¶ added in v5.24.0
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 ¶ added in v5.24.0
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 ¶ added in v5.24.0
func (MonitorTagRuleLogArgs) ElementType() reflect.Type
func (MonitorTagRuleLogArgs) ToMonitorTagRuleLogOutput ¶ added in v5.24.0
func (i MonitorTagRuleLogArgs) ToMonitorTagRuleLogOutput() MonitorTagRuleLogOutput
func (MonitorTagRuleLogArgs) ToMonitorTagRuleLogOutputWithContext ¶ added in v5.24.0
func (i MonitorTagRuleLogArgs) ToMonitorTagRuleLogOutputWithContext(ctx context.Context) MonitorTagRuleLogOutput
type MonitorTagRuleLogArray ¶ added in v5.24.0
type MonitorTagRuleLogArray []MonitorTagRuleLogInput
func (MonitorTagRuleLogArray) ElementType ¶ added in v5.24.0
func (MonitorTagRuleLogArray) ElementType() reflect.Type
func (MonitorTagRuleLogArray) ToMonitorTagRuleLogArrayOutput ¶ added in v5.24.0
func (i MonitorTagRuleLogArray) ToMonitorTagRuleLogArrayOutput() MonitorTagRuleLogArrayOutput
func (MonitorTagRuleLogArray) ToMonitorTagRuleLogArrayOutputWithContext ¶ added in v5.24.0
func (i MonitorTagRuleLogArray) ToMonitorTagRuleLogArrayOutputWithContext(ctx context.Context) MonitorTagRuleLogArrayOutput
type MonitorTagRuleLogArrayInput ¶ added in v5.24.0
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 ¶ added in v5.24.0
type MonitorTagRuleLogArrayOutput struct{ *pulumi.OutputState }
func (MonitorTagRuleLogArrayOutput) ElementType ¶ added in v5.24.0
func (MonitorTagRuleLogArrayOutput) ElementType() reflect.Type
func (MonitorTagRuleLogArrayOutput) Index ¶ added in v5.24.0
func (o MonitorTagRuleLogArrayOutput) Index(i pulumi.IntInput) MonitorTagRuleLogOutput
func (MonitorTagRuleLogArrayOutput) ToMonitorTagRuleLogArrayOutput ¶ added in v5.24.0
func (o MonitorTagRuleLogArrayOutput) ToMonitorTagRuleLogArrayOutput() MonitorTagRuleLogArrayOutput
func (MonitorTagRuleLogArrayOutput) ToMonitorTagRuleLogArrayOutputWithContext ¶ added in v5.24.0
func (o MonitorTagRuleLogArrayOutput) ToMonitorTagRuleLogArrayOutputWithContext(ctx context.Context) MonitorTagRuleLogArrayOutput
type MonitorTagRuleLogFilter ¶ added in v5.24.0
type MonitorTagRuleLogFilterArgs ¶ added in v5.24.0
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 ¶ added in v5.24.0
func (MonitorTagRuleLogFilterArgs) ElementType() reflect.Type
func (MonitorTagRuleLogFilterArgs) ToMonitorTagRuleLogFilterOutput ¶ added in v5.24.0
func (i MonitorTagRuleLogFilterArgs) ToMonitorTagRuleLogFilterOutput() MonitorTagRuleLogFilterOutput
func (MonitorTagRuleLogFilterArgs) ToMonitorTagRuleLogFilterOutputWithContext ¶ added in v5.24.0
func (i MonitorTagRuleLogFilterArgs) ToMonitorTagRuleLogFilterOutputWithContext(ctx context.Context) MonitorTagRuleLogFilterOutput
type MonitorTagRuleLogFilterArray ¶ added in v5.24.0
type MonitorTagRuleLogFilterArray []MonitorTagRuleLogFilterInput
func (MonitorTagRuleLogFilterArray) ElementType ¶ added in v5.24.0
func (MonitorTagRuleLogFilterArray) ElementType() reflect.Type
func (MonitorTagRuleLogFilterArray) ToMonitorTagRuleLogFilterArrayOutput ¶ added in v5.24.0
func (i MonitorTagRuleLogFilterArray) ToMonitorTagRuleLogFilterArrayOutput() MonitorTagRuleLogFilterArrayOutput
func (MonitorTagRuleLogFilterArray) ToMonitorTagRuleLogFilterArrayOutputWithContext ¶ added in v5.24.0
func (i MonitorTagRuleLogFilterArray) ToMonitorTagRuleLogFilterArrayOutputWithContext(ctx context.Context) MonitorTagRuleLogFilterArrayOutput
type MonitorTagRuleLogFilterArrayInput ¶ added in v5.24.0
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 ¶ added in v5.24.0
type MonitorTagRuleLogFilterArrayOutput struct{ *pulumi.OutputState }
func (MonitorTagRuleLogFilterArrayOutput) ElementType ¶ added in v5.24.0
func (MonitorTagRuleLogFilterArrayOutput) ElementType() reflect.Type
func (MonitorTagRuleLogFilterArrayOutput) Index ¶ added in v5.24.0
func (o MonitorTagRuleLogFilterArrayOutput) Index(i pulumi.IntInput) MonitorTagRuleLogFilterOutput
func (MonitorTagRuleLogFilterArrayOutput) ToMonitorTagRuleLogFilterArrayOutput ¶ added in v5.24.0
func (o MonitorTagRuleLogFilterArrayOutput) ToMonitorTagRuleLogFilterArrayOutput() MonitorTagRuleLogFilterArrayOutput
func (MonitorTagRuleLogFilterArrayOutput) ToMonitorTagRuleLogFilterArrayOutputWithContext ¶ added in v5.24.0
func (o MonitorTagRuleLogFilterArrayOutput) ToMonitorTagRuleLogFilterArrayOutputWithContext(ctx context.Context) MonitorTagRuleLogFilterArrayOutput
type MonitorTagRuleLogFilterInput ¶ added in v5.24.0
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 ¶ added in v5.24.0
type MonitorTagRuleLogFilterOutput struct{ *pulumi.OutputState }
func (MonitorTagRuleLogFilterOutput) Action ¶ added in v5.24.0
func (o MonitorTagRuleLogFilterOutput) Action() pulumi.StringOutput
Allowed values Include or Exclude.
func (MonitorTagRuleLogFilterOutput) ElementType ¶ added in v5.24.0
func (MonitorTagRuleLogFilterOutput) ElementType() reflect.Type
func (MonitorTagRuleLogFilterOutput) Name ¶ added in v5.24.0
func (o MonitorTagRuleLogFilterOutput) Name() pulumi.StringOutput
Name of the Tag.
func (MonitorTagRuleLogFilterOutput) ToMonitorTagRuleLogFilterOutput ¶ added in v5.24.0
func (o MonitorTagRuleLogFilterOutput) ToMonitorTagRuleLogFilterOutput() MonitorTagRuleLogFilterOutput
func (MonitorTagRuleLogFilterOutput) ToMonitorTagRuleLogFilterOutputWithContext ¶ added in v5.24.0
func (o MonitorTagRuleLogFilterOutput) ToMonitorTagRuleLogFilterOutputWithContext(ctx context.Context) MonitorTagRuleLogFilterOutput
func (MonitorTagRuleLogFilterOutput) Value ¶ added in v5.24.0
func (o MonitorTagRuleLogFilterOutput) Value() pulumi.StringOutput
Value of the Tag.
type MonitorTagRuleLogInput ¶ added in v5.24.0
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 ¶ added in v5.24.0
type MonitorTagRuleLogOutput struct{ *pulumi.OutputState }
func (MonitorTagRuleLogOutput) AadLogEnabled ¶ added in v5.24.0
func (o MonitorTagRuleLogOutput) AadLogEnabled() pulumi.BoolPtrOutput
Whether AAD logs should be sent for the Monitor resource?
func (MonitorTagRuleLogOutput) ElementType ¶ added in v5.24.0
func (MonitorTagRuleLogOutput) ElementType() reflect.Type
func (MonitorTagRuleLogOutput) Filters ¶ added in v5.24.0
func (o MonitorTagRuleLogOutput) Filters() MonitorTagRuleLogFilterArrayOutput
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 ¶ added in v5.24.0
func (o MonitorTagRuleLogOutput) ResourceLogEnabled() pulumi.BoolPtrOutput
Whether Azure resource logs should be sent for the Monitor resource?
func (MonitorTagRuleLogOutput) SubscriptionLogEnabled ¶ added in v5.24.0
func (o MonitorTagRuleLogOutput) SubscriptionLogEnabled() pulumi.BoolPtrOutput
Whether Azure subscription logs should be sent for the Monitor resource?
func (MonitorTagRuleLogOutput) ToMonitorTagRuleLogOutput ¶ added in v5.24.0
func (o MonitorTagRuleLogOutput) ToMonitorTagRuleLogOutput() MonitorTagRuleLogOutput
func (MonitorTagRuleLogOutput) ToMonitorTagRuleLogOutputWithContext ¶ added in v5.24.0
func (o MonitorTagRuleLogOutput) ToMonitorTagRuleLogOutputWithContext(ctx context.Context) MonitorTagRuleLogOutput
type MonitorTagRuleMap ¶ added in v5.24.0
type MonitorTagRuleMap map[string]MonitorTagRuleInput
func (MonitorTagRuleMap) ElementType ¶ added in v5.24.0
func (MonitorTagRuleMap) ElementType() reflect.Type
func (MonitorTagRuleMap) ToMonitorTagRuleMapOutput ¶ added in v5.24.0
func (i MonitorTagRuleMap) ToMonitorTagRuleMapOutput() MonitorTagRuleMapOutput
func (MonitorTagRuleMap) ToMonitorTagRuleMapOutputWithContext ¶ added in v5.24.0
func (i MonitorTagRuleMap) ToMonitorTagRuleMapOutputWithContext(ctx context.Context) MonitorTagRuleMapOutput
type MonitorTagRuleMapInput ¶ added in v5.24.0
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 ¶ added in v5.24.0
type MonitorTagRuleMapOutput struct{ *pulumi.OutputState }
func (MonitorTagRuleMapOutput) ElementType ¶ added in v5.24.0
func (MonitorTagRuleMapOutput) ElementType() reflect.Type
func (MonitorTagRuleMapOutput) MapIndex ¶ added in v5.24.0
func (o MonitorTagRuleMapOutput) MapIndex(k pulumi.StringInput) MonitorTagRuleOutput
func (MonitorTagRuleMapOutput) ToMonitorTagRuleMapOutput ¶ added in v5.24.0
func (o MonitorTagRuleMapOutput) ToMonitorTagRuleMapOutput() MonitorTagRuleMapOutput
func (MonitorTagRuleMapOutput) ToMonitorTagRuleMapOutputWithContext ¶ added in v5.24.0
func (o MonitorTagRuleMapOutput) ToMonitorTagRuleMapOutputWithContext(ctx context.Context) MonitorTagRuleMapOutput
type MonitorTagRuleMetric ¶ added in v5.24.0
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 ¶ added in v5.24.0
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 ¶ added in v5.24.0
func (MonitorTagRuleMetricArgs) ElementType() reflect.Type
func (MonitorTagRuleMetricArgs) ToMonitorTagRuleMetricOutput ¶ added in v5.24.0
func (i MonitorTagRuleMetricArgs) ToMonitorTagRuleMetricOutput() MonitorTagRuleMetricOutput
func (MonitorTagRuleMetricArgs) ToMonitorTagRuleMetricOutputWithContext ¶ added in v5.24.0
func (i MonitorTagRuleMetricArgs) ToMonitorTagRuleMetricOutputWithContext(ctx context.Context) MonitorTagRuleMetricOutput
type MonitorTagRuleMetricArray ¶ added in v5.24.0
type MonitorTagRuleMetricArray []MonitorTagRuleMetricInput
func (MonitorTagRuleMetricArray) ElementType ¶ added in v5.24.0
func (MonitorTagRuleMetricArray) ElementType() reflect.Type
func (MonitorTagRuleMetricArray) ToMonitorTagRuleMetricArrayOutput ¶ added in v5.24.0
func (i MonitorTagRuleMetricArray) ToMonitorTagRuleMetricArrayOutput() MonitorTagRuleMetricArrayOutput
func (MonitorTagRuleMetricArray) ToMonitorTagRuleMetricArrayOutputWithContext ¶ added in v5.24.0
func (i MonitorTagRuleMetricArray) ToMonitorTagRuleMetricArrayOutputWithContext(ctx context.Context) MonitorTagRuleMetricArrayOutput
type MonitorTagRuleMetricArrayInput ¶ added in v5.24.0
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 ¶ added in v5.24.0
type MonitorTagRuleMetricArrayOutput struct{ *pulumi.OutputState }
func (MonitorTagRuleMetricArrayOutput) ElementType ¶ added in v5.24.0
func (MonitorTagRuleMetricArrayOutput) ElementType() reflect.Type
func (MonitorTagRuleMetricArrayOutput) Index ¶ added in v5.24.0
func (o MonitorTagRuleMetricArrayOutput) Index(i pulumi.IntInput) MonitorTagRuleMetricOutput
func (MonitorTagRuleMetricArrayOutput) ToMonitorTagRuleMetricArrayOutput ¶ added in v5.24.0
func (o MonitorTagRuleMetricArrayOutput) ToMonitorTagRuleMetricArrayOutput() MonitorTagRuleMetricArrayOutput
func (MonitorTagRuleMetricArrayOutput) ToMonitorTagRuleMetricArrayOutputWithContext ¶ added in v5.24.0
func (o MonitorTagRuleMetricArrayOutput) ToMonitorTagRuleMetricArrayOutputWithContext(ctx context.Context) MonitorTagRuleMetricArrayOutput
type MonitorTagRuleMetricFilter ¶ added in v5.24.0
type MonitorTagRuleMetricFilterArgs ¶ added in v5.24.0
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 ¶ added in v5.24.0
func (MonitorTagRuleMetricFilterArgs) ElementType() reflect.Type
func (MonitorTagRuleMetricFilterArgs) ToMonitorTagRuleMetricFilterOutput ¶ added in v5.24.0
func (i MonitorTagRuleMetricFilterArgs) ToMonitorTagRuleMetricFilterOutput() MonitorTagRuleMetricFilterOutput
func (MonitorTagRuleMetricFilterArgs) ToMonitorTagRuleMetricFilterOutputWithContext ¶ added in v5.24.0
func (i MonitorTagRuleMetricFilterArgs) ToMonitorTagRuleMetricFilterOutputWithContext(ctx context.Context) MonitorTagRuleMetricFilterOutput
type MonitorTagRuleMetricFilterArray ¶ added in v5.24.0
type MonitorTagRuleMetricFilterArray []MonitorTagRuleMetricFilterInput
func (MonitorTagRuleMetricFilterArray) ElementType ¶ added in v5.24.0
func (MonitorTagRuleMetricFilterArray) ElementType() reflect.Type
func (MonitorTagRuleMetricFilterArray) ToMonitorTagRuleMetricFilterArrayOutput ¶ added in v5.24.0
func (i MonitorTagRuleMetricFilterArray) ToMonitorTagRuleMetricFilterArrayOutput() MonitorTagRuleMetricFilterArrayOutput
func (MonitorTagRuleMetricFilterArray) ToMonitorTagRuleMetricFilterArrayOutputWithContext ¶ added in v5.24.0
func (i MonitorTagRuleMetricFilterArray) ToMonitorTagRuleMetricFilterArrayOutputWithContext(ctx context.Context) MonitorTagRuleMetricFilterArrayOutput
type MonitorTagRuleMetricFilterArrayInput ¶ added in v5.24.0
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 ¶ added in v5.24.0
type MonitorTagRuleMetricFilterArrayOutput struct{ *pulumi.OutputState }
func (MonitorTagRuleMetricFilterArrayOutput) ElementType ¶ added in v5.24.0
func (MonitorTagRuleMetricFilterArrayOutput) ElementType() reflect.Type
func (MonitorTagRuleMetricFilterArrayOutput) Index ¶ added in v5.24.0
func (o MonitorTagRuleMetricFilterArrayOutput) Index(i pulumi.IntInput) MonitorTagRuleMetricFilterOutput
func (MonitorTagRuleMetricFilterArrayOutput) ToMonitorTagRuleMetricFilterArrayOutput ¶ added in v5.24.0
func (o MonitorTagRuleMetricFilterArrayOutput) ToMonitorTagRuleMetricFilterArrayOutput() MonitorTagRuleMetricFilterArrayOutput
func (MonitorTagRuleMetricFilterArrayOutput) ToMonitorTagRuleMetricFilterArrayOutputWithContext ¶ added in v5.24.0
func (o MonitorTagRuleMetricFilterArrayOutput) ToMonitorTagRuleMetricFilterArrayOutputWithContext(ctx context.Context) MonitorTagRuleMetricFilterArrayOutput
type MonitorTagRuleMetricFilterInput ¶ added in v5.24.0
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 ¶ added in v5.24.0
type MonitorTagRuleMetricFilterOutput struct{ *pulumi.OutputState }
func (MonitorTagRuleMetricFilterOutput) Action ¶ added in v5.24.0
func (o MonitorTagRuleMetricFilterOutput) Action() pulumi.StringOutput
Allowed values Include or Exclude.
func (MonitorTagRuleMetricFilterOutput) ElementType ¶ added in v5.24.0
func (MonitorTagRuleMetricFilterOutput) ElementType() reflect.Type
func (MonitorTagRuleMetricFilterOutput) Name ¶ added in v5.24.0
func (o MonitorTagRuleMetricFilterOutput) Name() pulumi.StringOutput
Name of the Tag.
func (MonitorTagRuleMetricFilterOutput) ToMonitorTagRuleMetricFilterOutput ¶ added in v5.24.0
func (o MonitorTagRuleMetricFilterOutput) ToMonitorTagRuleMetricFilterOutput() MonitorTagRuleMetricFilterOutput
func (MonitorTagRuleMetricFilterOutput) ToMonitorTagRuleMetricFilterOutputWithContext ¶ added in v5.24.0
func (o MonitorTagRuleMetricFilterOutput) ToMonitorTagRuleMetricFilterOutputWithContext(ctx context.Context) MonitorTagRuleMetricFilterOutput
func (MonitorTagRuleMetricFilterOutput) Value ¶ added in v5.24.0
func (o MonitorTagRuleMetricFilterOutput) Value() pulumi.StringOutput
Value of the Tag.
type MonitorTagRuleMetricInput ¶ added in v5.24.0
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 ¶ added in v5.24.0
type MonitorTagRuleMetricOutput struct{ *pulumi.OutputState }
func (MonitorTagRuleMetricOutput) ElementType ¶ added in v5.24.0
func (MonitorTagRuleMetricOutput) ElementType() reflect.Type
func (MonitorTagRuleMetricOutput) Filters ¶ added in v5.24.0
func (o MonitorTagRuleMetricOutput) Filters() MonitorTagRuleMetricFilterArrayOutput
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 ¶ added in v5.24.0
func (o MonitorTagRuleMetricOutput) ToMonitorTagRuleMetricOutput() MonitorTagRuleMetricOutput
func (MonitorTagRuleMetricOutput) ToMonitorTagRuleMetricOutputWithContext ¶ added in v5.24.0
func (o MonitorTagRuleMetricOutput) ToMonitorTagRuleMetricOutputWithContext(ctx context.Context) MonitorTagRuleMetricOutput
type MonitorTagRuleOutput ¶ added in v5.24.0
type MonitorTagRuleOutput struct{ *pulumi.OutputState }
func (MonitorTagRuleOutput) DatadogMonitorId ¶ added in v5.24.0
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 ¶ added in v5.24.0
func (MonitorTagRuleOutput) ElementType() reflect.Type
func (MonitorTagRuleOutput) Logs ¶ added in v5.24.0
func (o MonitorTagRuleOutput) Logs() MonitorTagRuleLogArrayOutput
A `log` block as defined below.
func (MonitorTagRuleOutput) Metrics ¶ added in v5.24.0
func (o MonitorTagRuleOutput) Metrics() MonitorTagRuleMetricArrayOutput
A `metric` block as defined below.
func (MonitorTagRuleOutput) Name ¶ added in v5.24.0
func (o MonitorTagRuleOutput) Name() pulumi.StringOutput
The name of the Tag Rules configuration. The allowed value is `default`. Defaults to `default`.
func (MonitorTagRuleOutput) ToMonitorTagRuleOutput ¶ added in v5.24.0
func (o MonitorTagRuleOutput) ToMonitorTagRuleOutput() MonitorTagRuleOutput
func (MonitorTagRuleOutput) ToMonitorTagRuleOutputWithContext ¶ added in v5.24.0
func (o MonitorTagRuleOutput) ToMonitorTagRuleOutputWithContext(ctx context.Context) MonitorTagRuleOutput
type MonitorTagRuleState ¶ added in v5.24.0
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 ¶ added in v5.24.0
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 ¶
func (o MonitorUserOutput) Email() pulumi.StringOutput
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 ¶
func (o MonitorUserOutput) Name() pulumi.StringOutput
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 (o MonitorUserPtrOutput) Elem() MonitorUserOutput
func (MonitorUserPtrOutput) ElementType ¶
func (MonitorUserPtrOutput) ElementType() reflect.Type
func (MonitorUserPtrOutput) Email ¶
func (o MonitorUserPtrOutput) Email() pulumi.StringPtrOutput
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 ¶
func (o MonitorUserPtrOutput) Name() pulumi.StringPtrOutput
The name which should be used for this user_info. Changing this forces a new resource to be created.
func (MonitorUserPtrOutput) PhoneNumber ¶
func (o MonitorUserPtrOutput) 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 (MonitorUserPtrOutput) ToMonitorUserPtrOutput ¶
func (o MonitorUserPtrOutput) ToMonitorUserPtrOutput() MonitorUserPtrOutput
func (MonitorUserPtrOutput) ToMonitorUserPtrOutputWithContext ¶
func (o MonitorUserPtrOutput) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput