azure-native.insights.Workbook
Explore with Pulumi AI
A workbook definition. Azure REST API version: 2022-04-01. Prior API version in Azure Native 1.x: 2020-10-20.
Other available API versions: 2015-05-01, 2021-03-08, 2021-08-01, 2023-06-01.
Example Usage
WorkbookAdd
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var workbook = new AzureNative.Insights.Workbook("workbook", new()
{
Category = "workbook",
Description = "Sample workbook",
DisplayName = "Sample workbook",
Kind = AzureNative.Insights.WorkbookSharedTypeKind.Shared,
Location = "westus",
ResourceGroupName = "my-resource-group",
ResourceName = "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
SerializedData = "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}",
SourceId = "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group",
Tags =
{
{ "TagSample01", "sample01" },
{ "TagSample02", "sample02" },
},
});
});
package main
import (
insights "github.com/pulumi/pulumi-azure-native-sdk/insights/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := insights.NewWorkbook(ctx, "workbook", &insights.WorkbookArgs{
Category: pulumi.String("workbook"),
Description: pulumi.String("Sample workbook"),
DisplayName: pulumi.String("Sample workbook"),
Kind: pulumi.String(insights.WorkbookSharedTypeKindShared),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("my-resource-group"),
ResourceName: pulumi.String("deadb33f-5e0d-4064-8ebb-1a4ed0313eb2"),
SerializedData: pulumi.String("{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}"),
SourceId: pulumi.String("/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group"),
Tags: pulumi.StringMap{
"TagSample01": pulumi.String("sample01"),
"TagSample02": pulumi.String("sample02"),
},
})
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.Workbook;
import com.pulumi.azurenative.insights.WorkbookArgs;
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 workbook = new Workbook("workbook", WorkbookArgs.builder()
.category("workbook")
.description("Sample workbook")
.displayName("Sample workbook")
.kind("shared")
.location("westus")
.resourceGroupName("my-resource-group")
.resourceName("deadb33f-5e0d-4064-8ebb-1a4ed0313eb2")
.serializedData("{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}")
.sourceId("/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group")
.tags(Map.ofEntries(
Map.entry("TagSample01", "sample01"),
Map.entry("TagSample02", "sample02")
))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
workbook = azure_native.insights.Workbook("workbook",
category="workbook",
description="Sample workbook",
display_name="Sample workbook",
kind=azure_native.insights.WorkbookSharedTypeKind.SHARED,
location="westus",
resource_group_name="my-resource-group",
resource_name_="deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
serialized_data="{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}",
source_id="/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group",
tags={
"TagSample01": "sample01",
"TagSample02": "sample02",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const workbook = new azure_native.insights.Workbook("workbook", {
category: "workbook",
description: "Sample workbook",
displayName: "Sample workbook",
kind: azure_native.insights.WorkbookSharedTypeKind.Shared,
location: "westus",
resourceGroupName: "my-resource-group",
resourceName: "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2",
serializedData: "{\"version\":\"Notebook/1.0\",\"items\":[{\"type\":1,\"content\":\"{\"json\":\"## New workbook\\r\\n---\\r\\n\\r\\nWelcome to your new workbook. This area will display text formatted as markdown.\\r\\n\\r\\n\\r\\nWe've included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections.\"}\",\"halfWidth\":null,\"conditionalVisibility\":null},{\"type\":3,\"content\":\"{\"version\":\"KqlItem/1.0\",\"query\":\"union withsource=TableName *\\n| summarize Count=count() by TableName\\n| render barchart\",\"showQuery\":false,\"size\":1,\"aggregation\":0,\"showAnnotations\":false}\",\"halfWidth\":null,\"conditionalVisibility\":null}],\"isLocked\":false}",
sourceId: "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group",
tags: {
TagSample01: "sample01",
TagSample02: "sample02",
},
});
resources:
workbook:
type: azure-native:insights:Workbook
properties:
category: workbook
description: Sample workbook
displayName: Sample workbook
kind: shared
location: westus
resourceGroupName: my-resource-group
resourceName: deadb33f-5e0d-4064-8ebb-1a4ed0313eb2
serializedData: '{"version":"Notebook/1.0","items":[{"type":1,"content":"{"json":"## New workbook\r\n---\r\n\r\nWelcome to your new workbook. This area will display text formatted as markdown.\r\n\r\n\r\nWe''ve included a basic analytics query to get you started. Use the `Edit` button below each section to configure it or add more sections."}","halfWidth":null,"conditionalVisibility":null},{"type":3,"content":"{"version":"KqlItem/1.0","query":"union withsource=TableName *\n| summarize Count=count() by TableName\n| render barchart","showQuery":false,"size":1,"aggregation":0,"showAnnotations":false}","halfWidth":null,"conditionalVisibility":null}],"isLocked":false}'
sourceId: /subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourcegroups/my-resource-group
tags:
TagSample01: sample01
TagSample02: sample02
Create Workbook Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Workbook(name: string, args: WorkbookArgs, opts?: CustomResourceOptions);
@overload
def Workbook(resource_name: str,
args: WorkbookArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Workbook(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
serialized_data: Optional[str] = None,
display_name: Optional[str] = None,
category: Optional[str] = None,
identity: Optional[WorkbookResourceIdentityArgs] = None,
location: Optional[str] = None,
kind: Optional[Union[str, WorkbookSharedTypeKind]] = None,
resource_name_: Optional[str] = None,
description: Optional[str] = None,
source_id: Optional[str] = None,
storage_uri: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
version: Optional[str] = None)
func NewWorkbook(ctx *Context, name string, args WorkbookArgs, opts ...ResourceOption) (*Workbook, error)
public Workbook(string name, WorkbookArgs args, CustomResourceOptions? opts = null)
public Workbook(String name, WorkbookArgs args)
public Workbook(String name, WorkbookArgs args, CustomResourceOptions options)
type: azure-native:insights:Workbook
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 WorkbookArgs
- 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 WorkbookArgs
- 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 WorkbookArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkbookArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkbookArgs
- 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 workbookResource = new AzureNative.Insights.Workbook("workbookResource", new()
{
ResourceGroupName = "string",
SerializedData = "string",
DisplayName = "string",
Category = "string",
Identity = new AzureNative.Insights.Inputs.WorkbookResourceIdentityArgs
{
Type = "string",
UserAssignedIdentities = new[]
{
"string",
},
},
Location = "string",
Kind = "string",
ResourceName = "string",
Description = "string",
SourceId = "string",
StorageUri = "string",
Tags =
{
{ "string", "string" },
},
Version = "string",
});
example, err := insights.NewWorkbook(ctx, "workbookResource", &insights.WorkbookArgs{
ResourceGroupName: pulumi.String("string"),
SerializedData: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Category: pulumi.String("string"),
Identity: &insights.WorkbookResourceIdentityArgs{
Type: pulumi.String("string"),
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
Location: pulumi.String("string"),
Kind: pulumi.String("string"),
ResourceName: pulumi.String("string"),
Description: pulumi.String("string"),
SourceId: pulumi.String("string"),
StorageUri: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Version: pulumi.String("string"),
})
var workbookResource = new Workbook("workbookResource", WorkbookArgs.builder()
.resourceGroupName("string")
.serializedData("string")
.displayName("string")
.category("string")
.identity(WorkbookResourceIdentityArgs.builder()
.type("string")
.userAssignedIdentities("string")
.build())
.location("string")
.kind("string")
.resourceName("string")
.description("string")
.sourceId("string")
.storageUri("string")
.tags(Map.of("string", "string"))
.version("string")
.build());
workbook_resource = azure_native.insights.Workbook("workbookResource",
resource_group_name="string",
serialized_data="string",
display_name="string",
category="string",
identity=azure_native.insights.WorkbookResourceIdentityArgs(
type="string",
user_assigned_identities=["string"],
),
location="string",
kind="string",
resource_name_="string",
description="string",
source_id="string",
storage_uri="string",
tags={
"string": "string",
},
version="string")
const workbookResource = new azure_native.insights.Workbook("workbookResource", {
resourceGroupName: "string",
serializedData: "string",
displayName: "string",
category: "string",
identity: {
type: "string",
userAssignedIdentities: ["string"],
},
location: "string",
kind: "string",
resourceName: "string",
description: "string",
sourceId: "string",
storageUri: "string",
tags: {
string: "string",
},
version: "string",
});
type: azure-native:insights:Workbook
properties:
category: string
description: string
displayName: string
identity:
type: string
userAssignedIdentities:
- string
kind: string
location: string
resourceGroupName: string
resourceName: string
serializedData: string
sourceId: string
storageUri: string
tags:
string: string
version: string
Workbook 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 Workbook resource accepts the following input properties:
- Category string
- Workbook category, as defined by the user at creation time.
- Display
Name string - The user-defined name (display name) of the workbook.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Serialized
Data string - Configuration of this particular workbook. Configuration data is a string containing valid JSON
- Description string
- The description of the workbook.
- Identity
Pulumi.
Azure Native. Insights. Inputs. Workbook Resource Identity - Identity used for BYOS
- Kind
string | Pulumi.
Azure Native. Insights. Workbook Shared Type Kind - The kind of workbook. Only valid value is shared.
- Location string
- The geo-location where the resource lives
- Resource
Name string - The name of the resource.
- Source
Id string - ResourceId for a source resource.
- Storage
Uri string - The resourceId to the storage account when bring your own storage is used
- Dictionary<string, string>
- Resource tags.
- Version string
- Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
- Category string
- Workbook category, as defined by the user at creation time.
- Display
Name string - The user-defined name (display name) of the workbook.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Serialized
Data string - Configuration of this particular workbook. Configuration data is a string containing valid JSON
- Description string
- The description of the workbook.
- Identity
Workbook
Resource Identity Args - Identity used for BYOS
- Kind
string | Workbook
Shared Type Kind - The kind of workbook. Only valid value is shared.
- Location string
- The geo-location where the resource lives
- Resource
Name string - The name of the resource.
- Source
Id string - ResourceId for a source resource.
- Storage
Uri string - The resourceId to the storage account when bring your own storage is used
- map[string]string
- Resource tags.
- Version string
- Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
- category String
- Workbook category, as defined by the user at creation time.
- display
Name String - The user-defined name (display name) of the workbook.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- serialized
Data String - Configuration of this particular workbook. Configuration data is a string containing valid JSON
- description String
- The description of the workbook.
- identity
Workbook
Resource Identity - Identity used for BYOS
- kind
String | Workbook
Shared Type Kind - The kind of workbook. Only valid value is shared.
- location String
- The geo-location where the resource lives
- resource
Name String - The name of the resource.
- source
Id String - ResourceId for a source resource.
- storage
Uri String - The resourceId to the storage account when bring your own storage is used
- Map<String,String>
- Resource tags.
- version String
- Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
- category string
- Workbook category, as defined by the user at creation time.
- display
Name string - The user-defined name (display name) of the workbook.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- serialized
Data string - Configuration of this particular workbook. Configuration data is a string containing valid JSON
- description string
- The description of the workbook.
- identity
Workbook
Resource Identity - Identity used for BYOS
- kind
string | Workbook
Shared Type Kind - The kind of workbook. Only valid value is shared.
- location string
- The geo-location where the resource lives
- resource
Name string - The name of the resource.
- source
Id string - ResourceId for a source resource.
- storage
Uri string - The resourceId to the storage account when bring your own storage is used
- {[key: string]: string}
- Resource tags.
- version string
- Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
- category str
- Workbook category, as defined by the user at creation time.
- display_
name str - The user-defined name (display name) of the workbook.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- serialized_
data str - Configuration of this particular workbook. Configuration data is a string containing valid JSON
- description str
- The description of the workbook.
- identity
Workbook
Resource Identity Args - Identity used for BYOS
- kind
str | Workbook
Shared Type Kind - The kind of workbook. Only valid value is shared.
- location str
- The geo-location where the resource lives
- resource_
name str - The name of the resource.
- source_
id str - ResourceId for a source resource.
- storage_
uri str - The resourceId to the storage account when bring your own storage is used
- Mapping[str, str]
- Resource tags.
- version str
- Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
- category String
- Workbook category, as defined by the user at creation time.
- display
Name String - The user-defined name (display name) of the workbook.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- serialized
Data String - Configuration of this particular workbook. Configuration data is a string containing valid JSON
- description String
- The description of the workbook.
- identity Property Map
- Identity used for BYOS
- kind String | "shared"
- The kind of workbook. Only valid value is shared.
- location String
- The geo-location where the resource lives
- resource
Name String - The name of the resource.
- source
Id String - ResourceId for a source resource.
- storage
Uri String - The resourceId to the storage account when bring your own storage is used
- Map<String>
- Resource tags.
- version String
- Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
Outputs
All input properties are implicitly available as output properties. Additionally, the Workbook resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Revision string
- The unique revision id for this workbook definition
- System
Data Pulumi.Azure Native. Insights. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Time
Modified string - Date and time in UTC of the last modification that was made to this workbook definition.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- User
Id string - Unique user id of the specific user that owns this workbook.
- Etag string
- Resource etag
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Revision string
- The unique revision id for this workbook definition
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Time
Modified string - Date and time in UTC of the last modification that was made to this workbook definition.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- User
Id string - Unique user id of the specific user that owns this workbook.
- Etag string
- Resource etag
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- revision String
- The unique revision id for this workbook definition
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- time
Modified String - Date and time in UTC of the last modification that was made to this workbook definition.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- user
Id String - Unique user id of the specific user that owns this workbook.
- etag String
- Resource etag
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- revision string
- The unique revision id for this workbook definition
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- time
Modified string - Date and time in UTC of the last modification that was made to this workbook definition.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- user
Id string - Unique user id of the specific user that owns this workbook.
- etag string
- Resource etag
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- revision str
- The unique revision id for this workbook definition
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- time_
modified str - Date and time in UTC of the last modification that was made to this workbook definition.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- user_
id str - Unique user id of the specific user that owns this workbook.
- etag str
- Resource etag
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- revision String
- The unique revision id for this workbook definition
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- time
Modified String - Date and time in UTC of the last modification that was made to this workbook definition.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- user
Id String - Unique user id of the specific user that owns this workbook.
- etag String
- Resource etag
Supporting Types
ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- Managed
Service Identity Type None - None
- Managed
Service Identity Type System Assigned - SystemAssigned
- Managed
Service Identity Type User Assigned - UserAssigned
- Managed
Service Identity Type_System Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned,UserAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned,User Assigned" - SystemAssigned,UserAssigned
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
WorkbookResourceIdentity, WorkbookResourceIdentityArgs
- Type
string | Pulumi.
Azure Native. Insights. Managed Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned List<string>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned []stringIdentities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned string[]Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
str | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Sequence[str]identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | "None" | "System
Assigned" | "User Assigned" | "System Assigned,User Assigned" - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
WorkbookResourceResponseIdentity, WorkbookResourceResponseIdentityArgs
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Insights. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
WorkbookSharedTypeKind, WorkbookSharedTypeKindArgs
- Shared
- shared
- Workbook
Shared Type Kind Shared - shared
- Shared
- shared
- Shared
- shared
- SHARED
- shared
- "shared"
- shared
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:insights:Workbook deadb33f-5e0d-4064-8ebb-1a4ed0313eb2 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0