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 MonitorState
- 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. 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. 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.
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.
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`. 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`. 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`.
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`.
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 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 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. Name string `pulumi:"name"` // Phone number of the user used by Datadog for contacting them if needed. 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. Name pulumi.StringInput `pulumi:"name"` // Phone number of the user used by Datadog for contacting them if needed. 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.
func (MonitorUserOutput) PhoneNumber ¶
func (o MonitorUserOutput) PhoneNumber() pulumi.StringPtrOutput
Phone number of the user used by Datadog for contacting them if needed.
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.
func (MonitorUserPtrOutput) PhoneNumber ¶
func (o MonitorUserPtrOutput) PhoneNumber() pulumi.StringPtrOutput
Phone number of the user used by Datadog for contacting them if needed.
func (MonitorUserPtrOutput) ToMonitorUserPtrOutput ¶
func (o MonitorUserPtrOutput) ToMonitorUserPtrOutput() MonitorUserPtrOutput
func (MonitorUserPtrOutput) ToMonitorUserPtrOutputWithContext ¶
func (o MonitorUserPtrOutput) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput