1. Packages
  2. Azure Native v1
  3. API Docs
  4. insights
  5. MyWorkbook
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.insights.MyWorkbook

Explore with Pulumi AI

These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

An Application Insights private workbook definition. API Version: 2020-10-20.

Import

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

$ pulumi import azure-native:insights:MyWorkbook deadb33f-8bee-4d3b-a059-9be8dac93960 /subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/my-resource-group/providers/Microsoft.Insights/myworkbooks/deadb33f-8bee-4d3b-a059-9be8dac93960 
Copy

Create MyWorkbook Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new MyWorkbook(name: string, args: MyWorkbookArgs, opts?: CustomResourceOptions);
@overload
def MyWorkbook(resource_name: str,
               args: MyWorkbookArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def MyWorkbook(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               resource_group_name: Optional[str] = None,
               display_name: Optional[str] = None,
               serialized_data: Optional[str] = None,
               category: Optional[str] = None,
               identity: Optional[MyWorkbookManagedIdentityArgs] = None,
               location: Optional[str] = None,
               name: Optional[str] = None,
               kind: Optional[Union[str, Kind]] = None,
               resource_name_: Optional[str] = None,
               id: Optional[str] = None,
               source_id: Optional[str] = None,
               storage_uri: Optional[str] = None,
               tags: Optional[Mapping[str, str]] = None,
               type: Optional[str] = None,
               version: Optional[str] = None)
func NewMyWorkbook(ctx *Context, name string, args MyWorkbookArgs, opts ...ResourceOption) (*MyWorkbook, error)
public MyWorkbook(string name, MyWorkbookArgs args, CustomResourceOptions? opts = null)
public MyWorkbook(String name, MyWorkbookArgs args)
public MyWorkbook(String name, MyWorkbookArgs args, CustomResourceOptions options)
type: azure-native:insights:MyWorkbook
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. MyWorkbookArgs
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. MyWorkbookArgs
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. MyWorkbookArgs
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. MyWorkbookArgs
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. MyWorkbookArgs
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 myWorkbookResource = new AzureNative.Insights.MyWorkbook("myWorkbookResource", new()
{
    ResourceGroupName = "string",
    DisplayName = "string",
    SerializedData = "string",
    Category = "string",
    Identity = 
    {
        { "type", "string" },
    },
    Location = "string",
    Name = "string",
    Kind = "string",
    ResourceName = "string",
    Id = "string",
    SourceId = "string",
    StorageUri = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Type = "string",
    Version = "string",
});
Copy
example, err := insights.NewMyWorkbook(ctx, "myWorkbookResource", &insights.MyWorkbookArgs{
	ResourceGroupName: "string",
	DisplayName:       "string",
	SerializedData:    "string",
	Category:          "string",
	Identity: map[string]interface{}{
		"type": "string",
	},
	Location:     "string",
	Name:         "string",
	Kind:         "string",
	ResourceName: "string",
	Id:           "string",
	SourceId:     "string",
	StorageUri:   "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
	Type:    "string",
	Version: "string",
})
Copy
var myWorkbookResource = new MyWorkbook("myWorkbookResource", MyWorkbookArgs.builder()
    .resourceGroupName("string")
    .displayName("string")
    .serializedData("string")
    .category("string")
    .identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .location("string")
    .name("string")
    .kind("string")
    .resourceName("string")
    .id("string")
    .sourceId("string")
    .storageUri("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .type("string")
    .version("string")
    .build());
Copy
my_workbook_resource = azure_native.insights.MyWorkbook("myWorkbookResource",
    resource_group_name=string,
    display_name=string,
    serialized_data=string,
    category=string,
    identity={
        type: string,
    },
    location=string,
    name=string,
    kind=string,
    resource_name_=string,
    id=string,
    source_id=string,
    storage_uri=string,
    tags={
        string: string,
    },
    type=string,
    version=string)
Copy
const myWorkbookResource = new azure_native.insights.MyWorkbook("myWorkbookResource", {
    resourceGroupName: "string",
    displayName: "string",
    serializedData: "string",
    category: "string",
    identity: {
        type: "string",
    },
    location: "string",
    name: "string",
    kind: "string",
    resourceName: "string",
    id: "string",
    sourceId: "string",
    storageUri: "string",
    tags: {
        string: "string",
    },
    type: "string",
    version: "string",
});
Copy
type: azure-native:insights:MyWorkbook
properties:
    category: string
    displayName: string
    id: string
    identity:
        type: string
    kind: string
    location: string
    name: string
    resourceGroupName: string
    resourceName: string
    serializedData: string
    sourceId: string
    storageUri: string
    tags:
        string: string
    type: string
    version: string
Copy

MyWorkbook 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 MyWorkbook resource accepts the following input properties:

Category This property is required. string
Workbook category, as defined by the user at creation time.
DisplayName This property is required. string
The user-defined name of the private workbook.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
SerializedData This property is required. string
Configuration of this particular private workbook. Configuration data is a string containing valid JSON
Id Changes to this property will trigger replacement. string
Azure resource Id
Identity Pulumi.AzureNative.Insights.Inputs.MyWorkbookManagedIdentity
Identity used for BYOS
Kind string | Pulumi.AzureNative.Insights.Kind
The kind of workbook. Choices are user and shared.
Location Changes to this property will trigger replacement. string
Resource location
Name Changes to this property will trigger replacement. string
Azure resource name
ResourceName Changes to this property will trigger replacement. string
The name of the Application Insights component resource.
SourceId string
Optional resourceId for a source resource.
StorageUri string
BYOS Storage Account URI
Tags Dictionary<string, string>
Resource tags
Type Changes to this property will trigger replacement. string
Azure resource type
Version string
This instance's version of the data model. This can change as new features are added that can be marked private workbook.
Category This property is required. string
Workbook category, as defined by the user at creation time.
DisplayName This property is required. string
The user-defined name of the private workbook.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
SerializedData This property is required. string
Configuration of this particular private workbook. Configuration data is a string containing valid JSON
Id Changes to this property will trigger replacement. string
Azure resource Id
Identity MyWorkbookManagedIdentityArgs
Identity used for BYOS
Kind string | Kind
The kind of workbook. Choices are user and shared.
Location Changes to this property will trigger replacement. string
Resource location
Name Changes to this property will trigger replacement. string
Azure resource name
ResourceName Changes to this property will trigger replacement. string
The name of the Application Insights component resource.
SourceId string
Optional resourceId for a source resource.
StorageUri string
BYOS Storage Account URI
Tags map[string]string
Resource tags
Type Changes to this property will trigger replacement. string
Azure resource type
Version string
This instance's version of the data model. This can change as new features are added that can be marked private workbook.
category This property is required. String
Workbook category, as defined by the user at creation time.
displayName This property is required. String
The user-defined name of the private workbook.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
serializedData This property is required. String
Configuration of this particular private workbook. Configuration data is a string containing valid JSON
id Changes to this property will trigger replacement. String
Azure resource Id
identity MyWorkbookManagedIdentity
Identity used for BYOS
kind String | Kind
The kind of workbook. Choices are user and shared.
location Changes to this property will trigger replacement. String
Resource location
name Changes to this property will trigger replacement. String
Azure resource name
resourceName Changes to this property will trigger replacement. String
The name of the Application Insights component resource.
sourceId String
Optional resourceId for a source resource.
storageUri String
BYOS Storage Account URI
tags Map<String,String>
Resource tags
type Changes to this property will trigger replacement. String
Azure resource type
version String
This instance's version of the data model. This can change as new features are added that can be marked private workbook.
category This property is required. string
Workbook category, as defined by the user at creation time.
displayName This property is required. string
The user-defined name of the private workbook.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
serializedData This property is required. string
Configuration of this particular private workbook. Configuration data is a string containing valid JSON
id Changes to this property will trigger replacement. string
Azure resource Id
identity MyWorkbookManagedIdentity
Identity used for BYOS
kind string | Kind
The kind of workbook. Choices are user and shared.
location Changes to this property will trigger replacement. string
Resource location
name Changes to this property will trigger replacement. string
Azure resource name
resourceName Changes to this property will trigger replacement. string
The name of the Application Insights component resource.
sourceId string
Optional resourceId for a source resource.
storageUri string
BYOS Storage Account URI
tags {[key: string]: string}
Resource tags
type Changes to this property will trigger replacement. string
Azure resource type
version string
This instance's version of the data model. This can change as new features are added that can be marked private workbook.
category This property is required. str
Workbook category, as defined by the user at creation time.
display_name This property is required. str
The user-defined name of the private workbook.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
serialized_data This property is required. str
Configuration of this particular private workbook. Configuration data is a string containing valid JSON
id Changes to this property will trigger replacement. str
Azure resource Id
identity MyWorkbookManagedIdentityArgs
Identity used for BYOS
kind str | Kind
The kind of workbook. Choices are user and shared.
location Changes to this property will trigger replacement. str
Resource location
name Changes to this property will trigger replacement. str
Azure resource name
resource_name Changes to this property will trigger replacement. str
The name of the Application Insights component resource.
source_id str
Optional resourceId for a source resource.
storage_uri str
BYOS Storage Account URI
tags Mapping[str, str]
Resource tags
type Changes to this property will trigger replacement. str
Azure resource type
version str
This instance's version of the data model. This can change as new features are added that can be marked private workbook.
category This property is required. String
Workbook category, as defined by the user at creation time.
displayName This property is required. String
The user-defined name of the private workbook.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
serializedData This property is required. String
Configuration of this particular private workbook. Configuration data is a string containing valid JSON
id Changes to this property will trigger replacement. String
Azure resource Id
identity Property Map
Identity used for BYOS
kind String | "user" | "shared"
The kind of workbook. Choices are user and shared.
location Changes to this property will trigger replacement. String
Resource location
name Changes to this property will trigger replacement. String
Azure resource name
resourceName Changes to this property will trigger replacement. String
The name of the Application Insights component resource.
sourceId String
Optional resourceId for a source resource.
storageUri String
BYOS Storage Account URI
tags Map<String>
Resource tags
type Changes to this property will trigger replacement. String
Azure resource type
version String
This instance's version of the data model. This can change as new features are added that can be marked private workbook.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
TimeModified string
Date and time in UTC of the last modification that was made to this private workbook definition.
UserId string
Unique user id of the specific user that owns this private workbook.
Etag Dictionary<string, string>
Resource etag
Id string
The provider-assigned unique ID for this managed resource.
TimeModified string
Date and time in UTC of the last modification that was made to this private workbook definition.
UserId string
Unique user id of the specific user that owns this private workbook.
Etag map[string]string
Resource etag
id String
The provider-assigned unique ID for this managed resource.
timeModified String
Date and time in UTC of the last modification that was made to this private workbook definition.
userId String
Unique user id of the specific user that owns this private workbook.
etag Map<String,String>
Resource etag
id string
The provider-assigned unique ID for this managed resource.
timeModified string
Date and time in UTC of the last modification that was made to this private workbook definition.
userId string
Unique user id of the specific user that owns this private workbook.
etag {[key: string]: string}
Resource etag
id str
The provider-assigned unique ID for this managed resource.
time_modified str
Date and time in UTC of the last modification that was made to this private workbook definition.
user_id str
Unique user id of the specific user that owns this private workbook.
etag Mapping[str, str]
Resource etag
id String
The provider-assigned unique ID for this managed resource.
timeModified String
Date and time in UTC of the last modification that was made to this private workbook definition.
userId String
Unique user id of the specific user that owns this private workbook.
etag Map<String>
Resource etag

Supporting Types

Kind
, KindArgs

User
user
Shared
shared
KindUser
user
KindShared
shared
User
user
Shared
shared
User
user
Shared
shared
USER
user
SHARED
shared
"user"
user
"shared"
shared

MyWorkbookManagedIdentity
, MyWorkbookManagedIdentityArgs

Type string
The identity type.
Type string
The identity type.
type String
The identity type.
type string
The identity type.
type str
The identity type.
type String
The identity type.

MyWorkbookManagedIdentityResponse
, MyWorkbookManagedIdentityResponseArgs

Type string
The identity type.
UserAssignedIdentities MyWorkbookUserAssignedIdentitiesResponse
Customer Managed Identity
type String
The identity type.
userAssignedIdentities MyWorkbookUserAssignedIdentitiesResponse
Customer Managed Identity
type string
The identity type.
userAssignedIdentities MyWorkbookUserAssignedIdentitiesResponse
Customer Managed Identity
type str
The identity type.
user_assigned_identities MyWorkbookUserAssignedIdentitiesResponse
Customer Managed Identity
type String
The identity type.
userAssignedIdentities Property Map
Customer Managed Identity

MyWorkbookUserAssignedIdentitiesResponse
, MyWorkbookUserAssignedIdentitiesResponseArgs

PrincipalId This property is required. string
The principal ID of resource identity.
TenantId This property is required. string
The tenant ID of resource.
PrincipalId This property is required. string
The principal ID of resource identity.
TenantId This property is required. string
The tenant ID of resource.
principalId This property is required. String
The principal ID of resource identity.
tenantId This property is required. String
The tenant ID of resource.
principalId This property is required. string
The principal ID of resource identity.
tenantId This property is required. string
The tenant ID of resource.
principal_id This property is required. str
The principal ID of resource identity.
tenant_id This property is required. str
The tenant ID of resource.
principalId This property is required. String
The principal ID of resource identity.
tenantId This property is required. String
The tenant ID of resource.

Package Details

Repository
azure-native-v1 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi