Documentation ¶
Index ¶
- type Integration
- type IntegrationArgs
- type IntegrationArray
- type IntegrationArrayInput
- type IntegrationArrayOutput
- func (IntegrationArrayOutput) ElementType() reflect.Type
- func (o IntegrationArrayOutput) Index(i pulumi.IntInput) IntegrationOutput
- func (o IntegrationArrayOutput) ToIntegrationArrayOutput() IntegrationArrayOutput
- func (o IntegrationArrayOutput) ToIntegrationArrayOutputWithContext(ctx context.Context) IntegrationArrayOutput
- type IntegrationInput
- type IntegrationMap
- type IntegrationMapInput
- type IntegrationMapOutput
- func (IntegrationMapOutput) ElementType() reflect.Type
- func (o IntegrationMapOutput) MapIndex(k pulumi.StringInput) IntegrationOutput
- func (o IntegrationMapOutput) ToIntegrationMapOutput() IntegrationMapOutput
- func (o IntegrationMapOutput) ToIntegrationMapOutputWithContext(ctx context.Context) IntegrationMapOutput
- type IntegrationOutput
- func (o IntegrationOutput) AppServicePlanFilters() pulumi.StringOutput
- func (o IntegrationOutput) Automute() pulumi.BoolOutput
- func (o IntegrationOutput) ClientId() pulumi.StringOutput
- func (o IntegrationOutput) ClientSecret() pulumi.StringOutput
- func (o IntegrationOutput) ContainerAppFilters() pulumi.StringOutput
- func (o IntegrationOutput) CspmEnabled() pulumi.BoolOutput
- func (o IntegrationOutput) CustomMetricsEnabled() pulumi.BoolOutput
- func (IntegrationOutput) ElementType() reflect.Type
- func (o IntegrationOutput) HostFilters() pulumi.StringOutput
- func (o IntegrationOutput) ResourceCollectionEnabled() pulumi.BoolOutput
- func (o IntegrationOutput) TenantName() pulumi.StringOutput
- func (o IntegrationOutput) ToIntegrationOutput() IntegrationOutput
- func (o IntegrationOutput) ToIntegrationOutputWithContext(ctx context.Context) IntegrationOutput
- type IntegrationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Integration ¶
type Integration struct { pulumi.CustomResourceState // This comma-separated list of tags (in the form `key:value,key:value`) defines a filter that Datadog uses when collecting metrics from Azure App Service Plans. Only App Service Plans that match one of the defined tags are imported into Datadog. The rest, including the apps and functions running on them, are ignored. This also filters the metrics for any App or Function running on the App Service Plan(s). Defaults to `""`. AppServicePlanFilters pulumi.StringOutput `pulumi:"appServicePlanFilters"` // Silence monitors for expected Azure VM shutdowns. Defaults to `false`. Automute pulumi.BoolOutput `pulumi:"automute"` // Your Azure web application ID. ClientId pulumi.StringOutput `pulumi:"clientId"` // (Required for Initial Creation) Your Azure web application secret key. ClientSecret pulumi.StringOutput `pulumi:"clientSecret"` // This comma-separated list of tags (in the form `key:value,key:value`) defines a filter that Datadog uses when collecting metrics from Azure Container Apps. Only Container Apps that match one of the defined tags are imported into Datadog. Defaults to `""`. ContainerAppFilters pulumi.StringOutput `pulumi:"containerAppFilters"` // When enabled, Datadog’s Cloud Security Management product scans resource configurations monitored by this app registration. // Note: This requires `resourceCollectionEnabled` to be set to true. Defaults to `false`. CspmEnabled pulumi.BoolOutput `pulumi:"cspmEnabled"` // Enable custom metrics for your organization. Defaults to `false`. CustomMetricsEnabled pulumi.BoolOutput `pulumi:"customMetricsEnabled"` // String of host tag(s) (in the form `key:value,key:value`) defines a filter that Datadog will use when collecting metrics from Azure. Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. e.x. `env:production,deploymentgroup:red` Defaults to `""`. HostFilters pulumi.StringOutput `pulumi:"hostFilters"` // When enabled, Datadog collects metadata and configuration info from cloud resources (such as compute instances, databases, and load balancers) monitored by this app registration. ResourceCollectionEnabled pulumi.BoolOutput `pulumi:"resourceCollectionEnabled"` // Your Azure Active Directory ID. TenantName pulumi.StringOutput `pulumi:"tenantName"` }
Provides a Datadog - Microsoft Azure integration resource. This can be used to create and manage the integrations.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/azure" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Create a new Datadog - Microsoft Azure integration _, err := azure.NewIntegration(ctx, "sandbox", &azure.IntegrationArgs{ TenantName: pulumi.String("<azure_tenant_name>"), ClientId: pulumi.String("<azure_client_id>"), ClientSecret: pulumi.String("<azure_client_secret_key>"), HostFilters: pulumi.String("examplefilter:true,example:true"), AppServicePlanFilters: pulumi.String("examplefilter:true,example:another"), ContainerAppFilters: pulumi.String("examplefilter:true,example:one_more"), Automute: pulumi.Bool(true), CspmEnabled: pulumi.Bool(true), CustomMetricsEnabled: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
Microsoft Azure integrations can be imported using their `tenant name` and `client` id separated with a colon (`:`).
```sh $ pulumi import datadog:azure/integration:Integration sandbox ${tenant_name}:${client_id} ```
func GetIntegration ¶
func GetIntegration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IntegrationState, opts ...pulumi.ResourceOption) (*Integration, error)
GetIntegration gets an existing Integration 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 NewIntegration ¶
func NewIntegration(ctx *pulumi.Context, name string, args *IntegrationArgs, opts ...pulumi.ResourceOption) (*Integration, error)
NewIntegration registers a new resource with the given unique name, arguments, and options.
func (*Integration) ElementType ¶
func (*Integration) ElementType() reflect.Type
func (*Integration) ToIntegrationOutput ¶
func (i *Integration) ToIntegrationOutput() IntegrationOutput
func (*Integration) ToIntegrationOutputWithContext ¶
func (i *Integration) ToIntegrationOutputWithContext(ctx context.Context) IntegrationOutput
type IntegrationArgs ¶
type IntegrationArgs struct { // This comma-separated list of tags (in the form `key:value,key:value`) defines a filter that Datadog uses when collecting metrics from Azure App Service Plans. Only App Service Plans that match one of the defined tags are imported into Datadog. The rest, including the apps and functions running on them, are ignored. This also filters the metrics for any App or Function running on the App Service Plan(s). Defaults to `""`. AppServicePlanFilters pulumi.StringPtrInput // Silence monitors for expected Azure VM shutdowns. Defaults to `false`. Automute pulumi.BoolPtrInput // Your Azure web application ID. ClientId pulumi.StringInput // (Required for Initial Creation) Your Azure web application secret key. ClientSecret pulumi.StringInput // This comma-separated list of tags (in the form `key:value,key:value`) defines a filter that Datadog uses when collecting metrics from Azure Container Apps. Only Container Apps that match one of the defined tags are imported into Datadog. Defaults to `""`. ContainerAppFilters pulumi.StringPtrInput // When enabled, Datadog’s Cloud Security Management product scans resource configurations monitored by this app registration. // Note: This requires `resourceCollectionEnabled` to be set to true. Defaults to `false`. CspmEnabled pulumi.BoolPtrInput // Enable custom metrics for your organization. Defaults to `false`. CustomMetricsEnabled pulumi.BoolPtrInput // String of host tag(s) (in the form `key:value,key:value`) defines a filter that Datadog will use when collecting metrics from Azure. Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. e.x. `env:production,deploymentgroup:red` Defaults to `""`. HostFilters pulumi.StringPtrInput // When enabled, Datadog collects metadata and configuration info from cloud resources (such as compute instances, databases, and load balancers) monitored by this app registration. ResourceCollectionEnabled pulumi.BoolPtrInput // Your Azure Active Directory ID. TenantName pulumi.StringInput }
The set of arguments for constructing a Integration resource.
func (IntegrationArgs) ElementType ¶
func (IntegrationArgs) ElementType() reflect.Type
type IntegrationArray ¶
type IntegrationArray []IntegrationInput
func (IntegrationArray) ElementType ¶
func (IntegrationArray) ElementType() reflect.Type
func (IntegrationArray) ToIntegrationArrayOutput ¶
func (i IntegrationArray) ToIntegrationArrayOutput() IntegrationArrayOutput
func (IntegrationArray) ToIntegrationArrayOutputWithContext ¶
func (i IntegrationArray) ToIntegrationArrayOutputWithContext(ctx context.Context) IntegrationArrayOutput
type IntegrationArrayInput ¶
type IntegrationArrayInput interface { pulumi.Input ToIntegrationArrayOutput() IntegrationArrayOutput ToIntegrationArrayOutputWithContext(context.Context) IntegrationArrayOutput }
IntegrationArrayInput is an input type that accepts IntegrationArray and IntegrationArrayOutput values. You can construct a concrete instance of `IntegrationArrayInput` via:
IntegrationArray{ IntegrationArgs{...} }
type IntegrationArrayOutput ¶
type IntegrationArrayOutput struct{ *pulumi.OutputState }
func (IntegrationArrayOutput) ElementType ¶
func (IntegrationArrayOutput) ElementType() reflect.Type
func (IntegrationArrayOutput) Index ¶
func (o IntegrationArrayOutput) Index(i pulumi.IntInput) IntegrationOutput
func (IntegrationArrayOutput) ToIntegrationArrayOutput ¶
func (o IntegrationArrayOutput) ToIntegrationArrayOutput() IntegrationArrayOutput
func (IntegrationArrayOutput) ToIntegrationArrayOutputWithContext ¶
func (o IntegrationArrayOutput) ToIntegrationArrayOutputWithContext(ctx context.Context) IntegrationArrayOutput
type IntegrationInput ¶
type IntegrationInput interface { pulumi.Input ToIntegrationOutput() IntegrationOutput ToIntegrationOutputWithContext(ctx context.Context) IntegrationOutput }
type IntegrationMap ¶
type IntegrationMap map[string]IntegrationInput
func (IntegrationMap) ElementType ¶
func (IntegrationMap) ElementType() reflect.Type
func (IntegrationMap) ToIntegrationMapOutput ¶
func (i IntegrationMap) ToIntegrationMapOutput() IntegrationMapOutput
func (IntegrationMap) ToIntegrationMapOutputWithContext ¶
func (i IntegrationMap) ToIntegrationMapOutputWithContext(ctx context.Context) IntegrationMapOutput
type IntegrationMapInput ¶
type IntegrationMapInput interface { pulumi.Input ToIntegrationMapOutput() IntegrationMapOutput ToIntegrationMapOutputWithContext(context.Context) IntegrationMapOutput }
IntegrationMapInput is an input type that accepts IntegrationMap and IntegrationMapOutput values. You can construct a concrete instance of `IntegrationMapInput` via:
IntegrationMap{ "key": IntegrationArgs{...} }
type IntegrationMapOutput ¶
type IntegrationMapOutput struct{ *pulumi.OutputState }
func (IntegrationMapOutput) ElementType ¶
func (IntegrationMapOutput) ElementType() reflect.Type
func (IntegrationMapOutput) MapIndex ¶
func (o IntegrationMapOutput) MapIndex(k pulumi.StringInput) IntegrationOutput
func (IntegrationMapOutput) ToIntegrationMapOutput ¶
func (o IntegrationMapOutput) ToIntegrationMapOutput() IntegrationMapOutput
func (IntegrationMapOutput) ToIntegrationMapOutputWithContext ¶
func (o IntegrationMapOutput) ToIntegrationMapOutputWithContext(ctx context.Context) IntegrationMapOutput
type IntegrationOutput ¶
type IntegrationOutput struct{ *pulumi.OutputState }
func (IntegrationOutput) AppServicePlanFilters ¶ added in v4.22.0
func (o IntegrationOutput) AppServicePlanFilters() pulumi.StringOutput
This comma-separated list of tags (in the form `key:value,key:value`) defines a filter that Datadog uses when collecting metrics from Azure App Service Plans. Only App Service Plans that match one of the defined tags are imported into Datadog. The rest, including the apps and functions running on them, are ignored. This also filters the metrics for any App or Function running on the App Service Plan(s). Defaults to `""`.
func (IntegrationOutput) Automute ¶ added in v4.9.0
func (o IntegrationOutput) Automute() pulumi.BoolOutput
Silence monitors for expected Azure VM shutdowns. Defaults to `false`.
func (IntegrationOutput) ClientId ¶ added in v4.9.0
func (o IntegrationOutput) ClientId() pulumi.StringOutput
Your Azure web application ID.
func (IntegrationOutput) ClientSecret ¶ added in v4.9.0
func (o IntegrationOutput) ClientSecret() pulumi.StringOutput
(Required for Initial Creation) Your Azure web application secret key.
func (IntegrationOutput) ContainerAppFilters ¶ added in v4.24.0
func (o IntegrationOutput) ContainerAppFilters() pulumi.StringOutput
This comma-separated list of tags (in the form `key:value,key:value`) defines a filter that Datadog uses when collecting metrics from Azure Container Apps. Only Container Apps that match one of the defined tags are imported into Datadog. Defaults to `""`.
func (IntegrationOutput) CspmEnabled ¶ added in v4.22.0
func (o IntegrationOutput) CspmEnabled() pulumi.BoolOutput
When enabled, Datadog’s Cloud Security Management product scans resource configurations monitored by this app registration. Note: This requires `resourceCollectionEnabled` to be set to true. Defaults to `false`.
func (IntegrationOutput) CustomMetricsEnabled ¶ added in v4.22.0
func (o IntegrationOutput) CustomMetricsEnabled() pulumi.BoolOutput
Enable custom metrics for your organization. Defaults to `false`.
func (IntegrationOutput) ElementType ¶
func (IntegrationOutput) ElementType() reflect.Type
func (IntegrationOutput) HostFilters ¶ added in v4.9.0
func (o IntegrationOutput) HostFilters() pulumi.StringOutput
String of host tag(s) (in the form `key:value,key:value`) defines a filter that Datadog will use when collecting metrics from Azure. Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. e.x. `env:production,deploymentgroup:red` Defaults to `""`.
func (IntegrationOutput) ResourceCollectionEnabled ¶ added in v4.24.0
func (o IntegrationOutput) ResourceCollectionEnabled() pulumi.BoolOutput
When enabled, Datadog collects metadata and configuration info from cloud resources (such as compute instances, databases, and load balancers) monitored by this app registration.
func (IntegrationOutput) TenantName ¶ added in v4.9.0
func (o IntegrationOutput) TenantName() pulumi.StringOutput
Your Azure Active Directory ID.
func (IntegrationOutput) ToIntegrationOutput ¶
func (o IntegrationOutput) ToIntegrationOutput() IntegrationOutput
func (IntegrationOutput) ToIntegrationOutputWithContext ¶
func (o IntegrationOutput) ToIntegrationOutputWithContext(ctx context.Context) IntegrationOutput
type IntegrationState ¶
type IntegrationState struct { // This comma-separated list of tags (in the form `key:value,key:value`) defines a filter that Datadog uses when collecting metrics from Azure App Service Plans. Only App Service Plans that match one of the defined tags are imported into Datadog. The rest, including the apps and functions running on them, are ignored. This also filters the metrics for any App or Function running on the App Service Plan(s). Defaults to `""`. AppServicePlanFilters pulumi.StringPtrInput // Silence monitors for expected Azure VM shutdowns. Defaults to `false`. Automute pulumi.BoolPtrInput // Your Azure web application ID. ClientId pulumi.StringPtrInput // (Required for Initial Creation) Your Azure web application secret key. ClientSecret pulumi.StringPtrInput // This comma-separated list of tags (in the form `key:value,key:value`) defines a filter that Datadog uses when collecting metrics from Azure Container Apps. Only Container Apps that match one of the defined tags are imported into Datadog. Defaults to `""`. ContainerAppFilters pulumi.StringPtrInput // When enabled, Datadog’s Cloud Security Management product scans resource configurations monitored by this app registration. // Note: This requires `resourceCollectionEnabled` to be set to true. Defaults to `false`. CspmEnabled pulumi.BoolPtrInput // Enable custom metrics for your organization. Defaults to `false`. CustomMetricsEnabled pulumi.BoolPtrInput // String of host tag(s) (in the form `key:value,key:value`) defines a filter that Datadog will use when collecting metrics from Azure. Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. e.x. `env:production,deploymentgroup:red` Defaults to `""`. HostFilters pulumi.StringPtrInput // When enabled, Datadog collects metadata and configuration info from cloud resources (such as compute instances, databases, and load balancers) monitored by this app registration. ResourceCollectionEnabled pulumi.BoolPtrInput // Your Azure Active Directory ID. TenantName pulumi.StringPtrInput }
func (IntegrationState) ElementType ¶
func (IntegrationState) ElementType() reflect.Type