azure-native.insights.ExportConfiguration
Explore with Pulumi AI
Properties that define a Continuous Export configuration. API Version: 2015-05-01.
Example Usage
ExportConfigurationUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var exportConfiguration = new AzureNative.Insights.ExportConfiguration("exportConfiguration", new()
{
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/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 com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.insights.ExportConfiguration;
import com.pulumi.azurenative.insights.ExportConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
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 ExportConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExportConfiguration(name: string, args: ExportConfigurationArgs, opts?: CustomResourceOptions);
@overload
def ExportConfiguration(resource_name: str,
args: ExportConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExportConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
resource_name_: Optional[str] = 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)
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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var exportConfigurationResource = new AzureNative.Insights.ExportConfiguration("exportConfigurationResource", new()
{
ResourceGroupName = "string",
ResourceName = "string",
DestinationAccountId = "string",
DestinationAddress = "string",
DestinationStorageLocationId = "string",
DestinationStorageSubscriptionId = "string",
DestinationType = "string",
ExportId = "string",
IsEnabled = "string",
NotificationQueueEnabled = "string",
NotificationQueueUri = "string",
RecordTypes = "string",
});
example, err := insights.NewExportConfiguration(ctx, "exportConfigurationResource", &insights.ExportConfigurationArgs{
ResourceGroupName: "string",
ResourceName: "string",
DestinationAccountId: "string",
DestinationAddress: "string",
DestinationStorageLocationId: "string",
DestinationStorageSubscriptionId: "string",
DestinationType: "string",
ExportId: "string",
IsEnabled: "string",
NotificationQueueEnabled: "string",
NotificationQueueUri: "string",
RecordTypes: "string",
})
var exportConfigurationResource = new ExportConfiguration("exportConfigurationResource", ExportConfigurationArgs.builder()
.resourceGroupName("string")
.resourceName("string")
.destinationAccountId("string")
.destinationAddress("string")
.destinationStorageLocationId("string")
.destinationStorageSubscriptionId("string")
.destinationType("string")
.exportId("string")
.isEnabled("string")
.notificationQueueEnabled("string")
.notificationQueueUri("string")
.recordTypes("string")
.build());
export_configuration_resource = azure_native.insights.ExportConfiguration("exportConfigurationResource",
resource_group_name=string,
resource_name_=string,
destination_account_id=string,
destination_address=string,
destination_storage_location_id=string,
destination_storage_subscription_id=string,
destination_type=string,
export_id=string,
is_enabled=string,
notification_queue_enabled=string,
notification_queue_uri=string,
record_types=string)
const exportConfigurationResource = new azure_native.insights.ExportConfiguration("exportConfigurationResource", {
resourceGroupName: "string",
resourceName: "string",
destinationAccountId: "string",
destinationAddress: "string",
destinationStorageLocationId: "string",
destinationStorageSubscriptionId: "string",
destinationType: "string",
exportId: "string",
isEnabled: "string",
notificationQueueEnabled: "string",
notificationQueueUri: "string",
recordTypes: "string",
});
type: azure-native:insights:ExportConfiguration
properties:
destinationAccountId: string
destinationAddress: string
destinationStorageLocationId: string
destinationStorageSubscriptionId: string
destinationType: string
exportId: string
isEnabled: string
notificationQueueEnabled: string
notificationQueueUri: string
recordTypes: string
resourceGroupName: string
resourceName: string
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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the Application Insights component resource.
- Destination
Account stringId - The name of destination storage account.
- Destination
Address string - The SAS URL for the destination storage container. It must grant write permission.
- Destination
Storage stringLocation Id - The location ID of the destination storage container.
- Destination
Storage stringSubscription Id - The subscription ID of the destination storage container.
- Destination
Type string - The Continuous Export destination type. This has to be 'Blob'.
- Export
Id string - The Continuous Export configuration ID. This is unique within a Application Insights component.
- Is
Enabled string - Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.
- Notification
Queue stringEnabled - Deprecated
- Notification
Queue stringUri - Deprecated
- Record
Types 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 stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the Application Insights component resource.
- Destination
Account stringId - The name of destination storage account.
- Destination
Address string - The SAS URL for the destination storage container. It must grant write permission.
- Destination
Storage stringLocation Id - The location ID of the destination storage container.
- Destination
Storage stringSubscription Id - The subscription ID of the destination storage container.
- Destination
Type string - The Continuous Export destination type. This has to be 'Blob'.
- Export
Id string - The Continuous Export configuration ID. This is unique within a Application Insights component.
- Is
Enabled string - Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.
- Notification
Queue stringEnabled - Deprecated
- Notification
Queue stringUri - Deprecated
- Record
Types 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 StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the Application Insights component resource.
- destination
Account StringId - The name of destination storage account.
- destination
Address String - The SAS URL for the destination storage container. It must grant write permission.
- destination
Storage StringLocation Id - The location ID of the destination storage container.
- destination
Storage StringSubscription Id - The subscription ID of the destination storage container.
- destination
Type String - The Continuous Export destination type. This has to be 'Blob'.
- export
Id String - The Continuous Export configuration ID. This is unique within a Application Insights component.
- is
Enabled String - Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.
- notification
Queue StringEnabled - Deprecated
- notification
Queue StringUri - Deprecated
- record
Types 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 stringName - The name of the resource group. The name is case insensitive.
- resource
Name string - The name of the Application Insights component resource.
- destination
Account stringId - The name of destination storage account.
- destination
Address string - The SAS URL for the destination storage container. It must grant write permission.
- destination
Storage stringLocation Id - The location ID of the destination storage container.
- destination
Storage stringSubscription Id - The subscription ID of the destination storage container.
- destination
Type string - The Continuous Export destination type. This has to be 'Blob'.
- export
Id string - The Continuous Export configuration ID. This is unique within a Application Insights component.
- is
Enabled string - Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.
- notification
Queue stringEnabled - Deprecated
- notification
Queue stringUri - Deprecated
- record
Types 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_ strname - The name of the resource group. The name is case insensitive.
- resource_
name str - The name of the Application Insights component resource.
- destination_
account_ strid - The name of destination storage account.
- destination_
address str - The SAS URL for the destination storage container. It must grant write permission.
- destination_
storage_ strlocation_ id - The location ID of the destination storage container.
- destination_
storage_ strsubscription_ id - 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_ strenabled - Deprecated
- notification_
queue_ struri - 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'.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the Application Insights component resource.
- destination
Account StringId - The name of destination storage account.
- destination
Address String - The SAS URL for the destination storage container. It must grant write permission.
- destination
Storage StringLocation Id - The location ID of the destination storage container.
- destination
Storage StringSubscription Id - The subscription ID of the destination storage container.
- destination
Type String - The Continuous Export destination type. This has to be 'Blob'.
- export
Id String - The Continuous Export configuration ID. This is unique within a Application Insights component.
- is
Enabled String - Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.
- notification
Queue StringEnabled - Deprecated
- notification
Queue StringUri - Deprecated
- record
Types 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:
- Application
Name string - The name of the Application Insights component.
- Container
Name string - The name of the destination storage container.
- Export
Status 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.
- Instrumentation
Key string - The instrumentation key of the Application Insights component.
- Is
User stringEnabled - This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.
- Last
Gap stringTime - The last time the Continuous Export configuration started failing.
- Last
Success stringTime - The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.
- Last
User stringUpdate - Last time the Continuous Export configuration was updated.
- Permanent
Error stringReason - This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.
- Resource
Group string - The resource group of the Application Insights component.
- Storage
Name string - The name of the destination storage account.
- Subscription
Id string - The subscription of the Application Insights component.
- Application
Name string - The name of the Application Insights component.
- Container
Name string - The name of the destination storage container.
- Export
Status 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.
- Instrumentation
Key string - The instrumentation key of the Application Insights component.
- Is
User stringEnabled - This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.
- Last
Gap stringTime - The last time the Continuous Export configuration started failing.
- Last
Success stringTime - The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.
- Last
User stringUpdate - Last time the Continuous Export configuration was updated.
- Permanent
Error stringReason - This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.
- Resource
Group string - The resource group of the Application Insights component.
- Storage
Name string - The name of the destination storage account.
- Subscription
Id string - The subscription of the Application Insights component.
- application
Name String - The name of the Application Insights component.
- container
Name String - The name of the destination storage container.
- export
Status 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.
- instrumentation
Key String - The instrumentation key of the Application Insights component.
- is
User StringEnabled - This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.
- last
Gap StringTime - The last time the Continuous Export configuration started failing.
- last
Success StringTime - The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.
- last
User StringUpdate - Last time the Continuous Export configuration was updated.
- permanent
Error StringReason - This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.
- resource
Group String - The resource group of the Application Insights component.
- storage
Name String - The name of the destination storage account.
- subscription
Id String - The subscription of the Application Insights component.
- application
Name string - The name of the Application Insights component.
- container
Name string - The name of the destination storage container.
- export
Status 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.
- instrumentation
Key string - The instrumentation key of the Application Insights component.
- is
User stringEnabled - This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.
- last
Gap stringTime - The last time the Continuous Export configuration started failing.
- last
Success stringTime - The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.
- last
User stringUpdate - Last time the Continuous Export configuration was updated.
- permanent
Error stringReason - This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.
- resource
Group string - The resource group of the Application Insights component.
- storage
Name string - The name of the destination storage account.
- subscription
Id 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_ strenabled - This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.
- last_
gap_ strtime - The last time the Continuous Export configuration started failing.
- last_
success_ strtime - The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.
- last_
user_ strupdate - Last time the Continuous Export configuration was updated.
- permanent_
error_ strreason - 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.
- application
Name String - The name of the Application Insights component.
- container
Name String - The name of the destination storage container.
- export
Status 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.
- instrumentation
Key String - The instrumentation key of the Application Insights component.
- is
User StringEnabled - This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.
- last
Gap StringTime - The last time the Continuous Export configuration started failing.
- last
Success StringTime - The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.
- last
User StringUpdate - Last time the Continuous Export configuration was updated.
- permanent
Error StringReason - This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.
- resource
Group String - The resource group of the Application Insights component.
- storage
Name String - The name of the destination storage account.
- subscription
Id 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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0