azure-native-v2.operationalinsights.StorageInsightConfig
Explore with Pulumi AI
The top level storage insight resource container. Azure REST API version: 2020-08-01. Prior API version in Azure Native 1.x: 2020-08-01.
Other available API versions: 2023-09-01.
Create StorageInsightConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StorageInsightConfig(name: string, args: StorageInsightConfigArgs, opts?: CustomResourceOptions);
@overload
def StorageInsightConfig(resource_name: str,
args: StorageInsightConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StorageInsightConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
storage_account: Optional[StorageAccountArgs] = None,
workspace_name: Optional[str] = None,
containers: Optional[Sequence[str]] = None,
e_tag: Optional[str] = None,
storage_insight_name: Optional[str] = None,
tables: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None)
func NewStorageInsightConfig(ctx *Context, name string, args StorageInsightConfigArgs, opts ...ResourceOption) (*StorageInsightConfig, error)
public StorageInsightConfig(string name, StorageInsightConfigArgs args, CustomResourceOptions? opts = null)
public StorageInsightConfig(String name, StorageInsightConfigArgs args)
public StorageInsightConfig(String name, StorageInsightConfigArgs args, CustomResourceOptions options)
type: azure-native:operationalinsights:StorageInsightConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StorageInsightConfigArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. StorageInsightConfigArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StorageInsightConfigArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StorageInsightConfigArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. StorageInsightConfigArgs - 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 storageInsightConfigResource = new AzureNative.Operationalinsights.StorageInsightConfig("storageInsightConfigResource", new()
{
ResourceGroupName = "string",
StorageAccount =
{
{ "id", "string" },
{ "key", "string" },
},
WorkspaceName = "string",
Containers = new[]
{
"string",
},
ETag = "string",
StorageInsightName = "string",
Tables = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := operationalinsights.NewStorageInsightConfig(ctx, "storageInsightConfigResource", &operationalinsights.StorageInsightConfigArgs{
ResourceGroupName: "string",
StorageAccount: map[string]interface{}{
"id": "string",
"key": "string",
},
WorkspaceName: "string",
Containers: []string{
"string",
},
ETag: "string",
StorageInsightName: "string",
Tables: []string{
"string",
},
Tags: map[string]interface{}{
"string": "string",
},
})
var storageInsightConfigResource = new StorageInsightConfig("storageInsightConfigResource", StorageInsightConfigArgs.builder()
.resourceGroupName("string")
.storageAccount(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.workspaceName("string")
.containers("string")
.eTag("string")
.storageInsightName("string")
.tables("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
storage_insight_config_resource = azure_native.operationalinsights.StorageInsightConfig("storageInsightConfigResource",
resource_group_name=string,
storage_account={
id: string,
key: string,
},
workspace_name=string,
containers=[string],
e_tag=string,
storage_insight_name=string,
tables=[string],
tags={
string: string,
})
const storageInsightConfigResource = new azure_native.operationalinsights.StorageInsightConfig("storageInsightConfigResource", {
resourceGroupName: "string",
storageAccount: {
id: "string",
key: "string",
},
workspaceName: "string",
containers: ["string"],
eTag: "string",
storageInsightName: "string",
tables: ["string"],
tags: {
string: "string",
},
});
type: azure-native:operationalinsights:StorageInsightConfig
properties:
containers:
- string
eTag: string
resourceGroupName: string
storageAccount:
id: string
key: string
storageInsightName: string
tables:
- string
tags:
string: string
workspaceName: string
StorageInsightConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The StorageInsightConfig resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Storage
Account This property is required. Pulumi.Azure Native. Operational Insights. Inputs. Storage Account - The storage account connection details
- Workspace
Name This property is required. Changes to this property will trigger replacement.
- The name of the workspace.
- Containers List<string>
- The names of the blob containers that the workspace should read
- ETag string
- The ETag of the storage insight.
- Storage
Insight Name Changes to this property will trigger replacement.
- Name of the storageInsightsConfigs resource
- Tables List<string>
- The names of the Azure tables that the workspace should read
- Dictionary<string, string>
- Resource tags.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Storage
Account This property is required. StorageAccount Args - The storage account connection details
- Workspace
Name This property is required. Changes to this property will trigger replacement.
- The name of the workspace.
- Containers []string
- The names of the blob containers that the workspace should read
- ETag string
- The ETag of the storage insight.
- Storage
Insight Name Changes to this property will trigger replacement.
- Name of the storageInsightsConfigs resource
- Tables []string
- The names of the Azure tables that the workspace should read
- map[string]string
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- storage
Account This property is required. StorageAccount - The storage account connection details
- workspace
Name This property is required. Changes to this property will trigger replacement.
- The name of the workspace.
- containers List<String>
- The names of the blob containers that the workspace should read
- e
Tag String - The ETag of the storage insight.
- storage
Insight Name Changes to this property will trigger replacement.
- Name of the storageInsightsConfigs resource
- tables List<String>
- The names of the Azure tables that the workspace should read
- Map<String,String>
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- storage
Account This property is required. StorageAccount - The storage account connection details
- workspace
Name This property is required. Changes to this property will trigger replacement.
- The name of the workspace.
- containers string[]
- The names of the blob containers that the workspace should read
- e
Tag string - The ETag of the storage insight.
- storage
Insight Name Changes to this property will trigger replacement.
- Name of the storageInsightsConfigs resource
- tables string[]
- The names of the Azure tables that the workspace should read
- {[key: string]: string}
- Resource tags.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- storage_
account This property is required. StorageAccount Args - The storage account connection details
- workspace_
name This property is required. Changes to this property will trigger replacement.
- The name of the workspace.
- containers Sequence[str]
- The names of the blob containers that the workspace should read
- e_
tag str - The ETag of the storage insight.
- storage_
insight_ name Changes to this property will trigger replacement.
- Name of the storageInsightsConfigs resource
- tables Sequence[str]
- The names of the Azure tables that the workspace should read
- Mapping[str, str]
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- storage
Account This property is required. Property Map - The storage account connection details
- workspace
Name This property is required. Changes to this property will trigger replacement.
- The name of the workspace.
- containers List<String>
- The names of the blob containers that the workspace should read
- e
Tag String - The ETag of the storage insight.
- storage
Insight Name Changes to this property will trigger replacement.
- Name of the storageInsightsConfigs resource
- tables List<String>
- The names of the Azure tables that the workspace should read
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the StorageInsightConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Status
Pulumi.
Azure Native. Operational Insights. Outputs. Storage Insight Status Response - The status of the storage insight
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Status
Storage
Insight Status Response - The status of the storage insight
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- status
Storage
Insight Status Response - The status of the storage insight
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- status
Storage
Insight Status Response - The status of the storage insight
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- status
Storage
Insight Status Response - The status of the storage insight
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- status Property Map
- The status of the storage insight
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
StorageAccount, StorageAccountArgs
StorageAccountResponse, StorageAccountResponseArgs
StorageInsightStatusResponse, StorageInsightStatusResponseArgs
- State
This property is required. string - The state of the storage insight connection to the workspace
- Description string
- Description of the state of the storage insight.
- State
This property is required. string - The state of the storage insight connection to the workspace
- Description string
- Description of the state of the storage insight.
- state
This property is required. String - The state of the storage insight connection to the workspace
- description String
- Description of the state of the storage insight.
- state
This property is required. string - The state of the storage insight connection to the workspace
- description string
- Description of the state of the storage insight.
- state
This property is required. str - The state of the storage insight connection to the workspace
- description str
- Description of the state of the storage insight.
- state
This property is required. String - The state of the storage insight connection to the workspace
- description String
- Description of the state of the storage insight.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:operationalinsights:StorageInsightConfig AzTestSI1110 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0