Azure Native

Pulumi Official
Package maintained by Pulumi
v1.66.0 published on Thursday, Jun 23, 2022 by Pulumi

ExportConfiguration

Properties that define a Continuous Export configuration. API Version: 2015-05-01.

Example Usage

ExportConfigurationUpdate

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var exportConfiguration = new AzureNative.Insights.ExportConfiguration("exportConfiguration", new AzureNative.Insights.ExportConfigurationArgs
        {
            DestinationAccountId = "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.ClassicStorage/storageAccounts/mystorageblob",
            DestinationAddress = "https://mystorageblob.blob.core.windows.net/fchentest?sv=2015-04-05&sr=c&sig=token",
            DestinationStorageLocationId = "eastus",
            DestinationStorageSubscriptionId = "subid",
            DestinationType = "Blob",
            ExportId = "uGOoki0jQsyEs3IdQ83Q4QsNr4=",
            IsEnabled = "true",
            NotificationQueueEnabled = "false",
            NotificationQueueUri = "",
            RecordTypes = "Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability",
            ResourceGroupName = "my-resource-group",
            ResourceName = "my-component",
        });
    }

}
package main

import (
	insights "github.com/pulumi/pulumi-azure-native/sdk/go/azure/insights"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := insights.NewExportConfiguration(ctx, "exportConfiguration", &insights.ExportConfigurationArgs{
			DestinationAccountId:             pulumi.String("/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.ClassicStorage/storageAccounts/mystorageblob"),
			DestinationAddress:               pulumi.String("https://mystorageblob.blob.core.windows.net/fchentest?sv=2015-04-05&sr=c&sig=token"),
			DestinationStorageLocationId:     pulumi.String("eastus"),
			DestinationStorageSubscriptionId: pulumi.String("subid"),
			DestinationType:                  pulumi.String("Blob"),
			ExportId:                         pulumi.String("uGOoki0jQsyEs3IdQ83Q4QsNr4="),
			IsEnabled:                        pulumi.String("true"),
			NotificationQueueEnabled:         pulumi.String("false"),
			NotificationQueueUri:             pulumi.String(""),
			RecordTypes:                      pulumi.String("Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability"),
			ResourceGroupName:                pulumi.String("my-resource-group"),
			ResourceName:                     pulumi.String("my-component"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var exportConfiguration = new ExportConfiguration("exportConfiguration", ExportConfigurationArgs.builder()        
            .destinationAccountId("/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.ClassicStorage/storageAccounts/mystorageblob")
            .destinationAddress("https://mystorageblob.blob.core.windows.net/fchentest?sv=2015-04-05&sr=c&sig=token")
            .destinationStorageLocationId("eastus")
            .destinationStorageSubscriptionId("subid")
            .destinationType("Blob")
            .exportId("uGOoki0jQsyEs3IdQ83Q4QsNr4=")
            .isEnabled("true")
            .notificationQueueEnabled("false")
            .notificationQueueUri("")
            .recordTypes("Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability")
            .resourceGroupName("my-resource-group")
            .resourceName("my-component")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

export_configuration = azure_native.insights.ExportConfiguration("exportConfiguration",
    destination_account_id="/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.ClassicStorage/storageAccounts/mystorageblob",
    destination_address="https://mystorageblob.blob.core.windows.net/fchentest?sv=2015-04-05&sr=c&sig=token",
    destination_storage_location_id="eastus",
    destination_storage_subscription_id="subid",
    destination_type="Blob",
    export_id="uGOoki0jQsyEs3IdQ83Q4QsNr4=",
    is_enabled="true",
    notification_queue_enabled="false",
    notification_queue_uri="",
    record_types="Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability",
    resource_group_name="my-resource-group",
    resource_name_="my-component")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const exportConfiguration = new azure_native.insights.ExportConfiguration("exportConfiguration", {
    destinationAccountId: "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.ClassicStorage/storageAccounts/mystorageblob",
    destinationAddress: "https://mystorageblob.blob.core.windows.net/fchentest?sv=2015-04-05&sr=c&sig=token",
    destinationStorageLocationId: "eastus",
    destinationStorageSubscriptionId: "subid",
    destinationType: "Blob",
    exportId: "uGOoki0jQsyEs3IdQ83Q4QsNr4=",
    isEnabled: "true",
    notificationQueueEnabled: "false",
    notificationQueueUri: "",
    recordTypes: "Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability",
    resourceGroupName: "my-resource-group",
    resourceName: "my-component",
});
resources:
  exportConfiguration:
    type: azure-native:insights:ExportConfiguration
    properties:
      destinationAccountId: /subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.ClassicStorage/storageAccounts/mystorageblob
      destinationAddress: https://mystorageblob.blob.core.windows.net/fchentest?sv=2015-04-05&sr=c&sig=token
      destinationStorageLocationId: eastus
      destinationStorageSubscriptionId: subid
      destinationType: Blob
      exportId: uGOoki0jQsyEs3IdQ83Q4QsNr4=
      isEnabled: true
      notificationQueueEnabled: false
      notificationQueueUri:
      recordTypes: Requests, Event, Exceptions, Metrics, PageViews, PageViewPerformance, Rdd, PerformanceCounters, Availability
      resourceGroupName: my-resource-group
      resourceName: my-component

Create a ExportConfiguration Resource

new ExportConfiguration(name: string, args: ExportConfigurationArgs, opts?: CustomResourceOptions);
@overload
def ExportConfiguration(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        destination_account_id: Optional[str] = None,
                        destination_address: Optional[str] = None,
                        destination_storage_location_id: Optional[str] = None,
                        destination_storage_subscription_id: Optional[str] = None,
                        destination_type: Optional[str] = None,
                        export_id: Optional[str] = None,
                        is_enabled: Optional[str] = None,
                        notification_queue_enabled: Optional[str] = None,
                        notification_queue_uri: Optional[str] = None,
                        record_types: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        resource_name_: Optional[str] = None)
@overload
def ExportConfiguration(resource_name: str,
                        args: ExportConfigurationArgs,
                        opts: Optional[ResourceOptions] = None)
func NewExportConfiguration(ctx *Context, name string, args ExportConfigurationArgs, opts ...ResourceOption) (*ExportConfiguration, error)
public ExportConfiguration(string name, ExportConfigurationArgs args, CustomResourceOptions? opts = null)
public ExportConfiguration(String name, ExportConfigurationArgs args)
public ExportConfiguration(String name, ExportConfigurationArgs args, CustomResourceOptions options)
type: azure-native:insights:ExportConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ExportConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ExportConfigurationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ExportConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ExportConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ExportConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ExportConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ExportConfiguration resource accepts the following input properties:

ResourceGroupName string

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

ResourceName string

The name of the Application Insights component resource.

DestinationAccountId string

The name of destination storage account.

DestinationAddress string

The SAS URL for the destination storage container. It must grant write permission.

DestinationStorageLocationId string

The location ID of the destination storage container.

DestinationStorageSubscriptionId string

The subscription ID of the destination storage container.

DestinationType string

The Continuous Export destination type. This has to be 'Blob'.

ExportId string

The Continuous Export configuration ID. This is unique within a Application Insights component.

IsEnabled string

Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.

NotificationQueueEnabled string

Deprecated

NotificationQueueUri string

Deprecated

RecordTypes string

The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.

ResourceGroupName string

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

ResourceName string

The name of the Application Insights component resource.

DestinationAccountId string

The name of destination storage account.

DestinationAddress string

The SAS URL for the destination storage container. It must grant write permission.

DestinationStorageLocationId string

The location ID of the destination storage container.

DestinationStorageSubscriptionId string

The subscription ID of the destination storage container.

DestinationType string

The Continuous Export destination type. This has to be 'Blob'.

ExportId string

The Continuous Export configuration ID. This is unique within a Application Insights component.

IsEnabled string

Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.

NotificationQueueEnabled string

Deprecated

NotificationQueueUri string

Deprecated

RecordTypes string

The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.

resourceGroupName String

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

resourceName String

The name of the Application Insights component resource.

destinationAccountId String

The name of destination storage account.

destinationAddress String

The SAS URL for the destination storage container. It must grant write permission.

destinationStorageLocationId String

The location ID of the destination storage container.

destinationStorageSubscriptionId String

The subscription ID of the destination storage container.

destinationType String

The Continuous Export destination type. This has to be 'Blob'.

exportId String

The Continuous Export configuration ID. This is unique within a Application Insights component.

isEnabled String

Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.

notificationQueueEnabled String

Deprecated

notificationQueueUri String

Deprecated

recordTypes String

The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.

resourceGroupName string

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

resourceName string

The name of the Application Insights component resource.

destinationAccountId string

The name of destination storage account.

destinationAddress string

The SAS URL for the destination storage container. It must grant write permission.

destinationStorageLocationId string

The location ID of the destination storage container.

destinationStorageSubscriptionId string

The subscription ID of the destination storage container.

destinationType string

The Continuous Export destination type. This has to be 'Blob'.

exportId string

The Continuous Export configuration ID. This is unique within a Application Insights component.

isEnabled string

Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.

notificationQueueEnabled string

Deprecated

notificationQueueUri string

Deprecated

recordTypes string

The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.

resource_group_name str

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

resource_name str

The name of the Application Insights component resource.

destination_account_id str

The name of destination storage account.

destination_address str

The SAS URL for the destination storage container. It must grant write permission.

destination_storage_location_id str

The location ID of the destination storage container.

destination_storage_subscription_id str

The subscription ID of the destination storage container.

destination_type str

The Continuous Export destination type. This has to be 'Blob'.

export_id str

The Continuous Export configuration ID. This is unique within a Application Insights component.

is_enabled str

Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.

notification_queue_enabled str

Deprecated

notification_queue_uri str

Deprecated

record_types str

The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.

resourceGroupName String

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

resourceName String

The name of the Application Insights component resource.

destinationAccountId String

The name of destination storage account.

destinationAddress String

The SAS URL for the destination storage container. It must grant write permission.

destinationStorageLocationId String

The location ID of the destination storage container.

destinationStorageSubscriptionId String

The subscription ID of the destination storage container.

destinationType String

The Continuous Export destination type. This has to be 'Blob'.

exportId String

The Continuous Export configuration ID. This is unique within a Application Insights component.

isEnabled String

Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.

notificationQueueEnabled String

Deprecated

notificationQueueUri String

Deprecated

recordTypes String

The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.

Outputs

All input properties are implicitly available as output properties. Additionally, the ExportConfiguration resource produces the following output properties:

ApplicationName string

The name of the Application Insights component.

ContainerName string

The name of the destination storage container.

ExportStatus string

This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success', 'Failure'.

Id string

The provider-assigned unique ID for this managed resource.

InstrumentationKey string

The instrumentation key of the Application Insights component.

IsUserEnabled string

This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.

LastGapTime string

The last time the Continuous Export configuration started failing.

LastSuccessTime string

The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.

LastUserUpdate string

Last time the Continuous Export configuration was updated.

PermanentErrorReason string

This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.

ResourceGroup string

The resource group of the Application Insights component.

StorageName string

The name of the destination storage account.

SubscriptionId string

The subscription of the Application Insights component.

ApplicationName string

The name of the Application Insights component.

ContainerName string

The name of the destination storage container.

ExportStatus string

This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success', 'Failure'.

Id string

The provider-assigned unique ID for this managed resource.

InstrumentationKey string

The instrumentation key of the Application Insights component.

IsUserEnabled string

This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.

LastGapTime string

The last time the Continuous Export configuration started failing.

LastSuccessTime string

The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.

LastUserUpdate string

Last time the Continuous Export configuration was updated.

PermanentErrorReason string

This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.

ResourceGroup string

The resource group of the Application Insights component.

StorageName string

The name of the destination storage account.

SubscriptionId string

The subscription of the Application Insights component.

applicationName String

The name of the Application Insights component.

containerName String

The name of the destination storage container.

exportStatus String

This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success', 'Failure'.

id String

The provider-assigned unique ID for this managed resource.

instrumentationKey String

The instrumentation key of the Application Insights component.

isUserEnabled String

This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.

lastGapTime String

The last time the Continuous Export configuration started failing.

lastSuccessTime String

The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.

lastUserUpdate String

Last time the Continuous Export configuration was updated.

permanentErrorReason String

This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.

resourceGroup String

The resource group of the Application Insights component.

storageName String

The name of the destination storage account.

subscriptionId String

The subscription of the Application Insights component.

applicationName string

The name of the Application Insights component.

containerName string

The name of the destination storage container.

exportStatus string

This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success', 'Failure'.

id string

The provider-assigned unique ID for this managed resource.

instrumentationKey string

The instrumentation key of the Application Insights component.

isUserEnabled string

This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.

lastGapTime string

The last time the Continuous Export configuration started failing.

lastSuccessTime string

The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.

lastUserUpdate string

Last time the Continuous Export configuration was updated.

permanentErrorReason string

This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.

resourceGroup string

The resource group of the Application Insights component.

storageName string

The name of the destination storage account.

subscriptionId string

The subscription of the Application Insights component.

application_name str

The name of the Application Insights component.

container_name str

The name of the destination storage container.

export_status str

This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success', 'Failure'.

id str

The provider-assigned unique ID for this managed resource.

instrumentation_key str

The instrumentation key of the Application Insights component.

is_user_enabled str

This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.

last_gap_time str

The last time the Continuous Export configuration started failing.

last_success_time str

The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.

last_user_update str

Last time the Continuous Export configuration was updated.

permanent_error_reason str

This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.

resource_group str

The resource group of the Application Insights component.

storage_name str

The name of the destination storage account.

subscription_id str

The subscription of the Application Insights component.

applicationName String

The name of the Application Insights component.

containerName String

The name of the destination storage container.

exportStatus String

This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success', 'Failure'.

id String

The provider-assigned unique ID for this managed resource.

instrumentationKey String

The instrumentation key of the Application Insights component.

isUserEnabled String

This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.

lastGapTime String

The last time the Continuous Export configuration started failing.

lastSuccessTime String

The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.

lastUserUpdate String

Last time the Continuous Export configuration was updated.

permanentErrorReason String

This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.

resourceGroup String

The resource group of the Application Insights component.

storageName String

The name of the destination storage account.

subscriptionId String

The subscription of the Application Insights component.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:insights:ExportConfiguration myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId} 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0