1. Packages
  2. Azure Native
  3. API Docs
  4. applicationinsights
  5. getWorkbook
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.applicationinsights.getWorkbook

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Get a single workbook by its resourceName.

Uses Azure REST API version 2023-06-01.

Other available API versions: 2015-05-01, 2018-06-17-preview, 2020-10-20, 2021-03-08, 2021-08-01, 2022-04-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native applicationinsights [ApiVersion]. See the version guide for details.

Using getWorkbook

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getWorkbook(args: GetWorkbookArgs, opts?: InvokeOptions): Promise<GetWorkbookResult>
function getWorkbookOutput(args: GetWorkbookOutputArgs, opts?: InvokeOptions): Output<GetWorkbookResult>
Copy
def get_workbook(can_fetch_content: Optional[bool] = None,
                 resource_group_name: Optional[str] = None,
                 resource_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetWorkbookResult
def get_workbook_output(can_fetch_content: Optional[pulumi.Input[bool]] = None,
                 resource_group_name: Optional[pulumi.Input[str]] = None,
                 resource_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetWorkbookResult]
Copy
func LookupWorkbook(ctx *Context, args *LookupWorkbookArgs, opts ...InvokeOption) (*LookupWorkbookResult, error)
func LookupWorkbookOutput(ctx *Context, args *LookupWorkbookOutputArgs, opts ...InvokeOption) LookupWorkbookResultOutput
Copy

> Note: This function is named LookupWorkbook in the Go SDK.

public static class GetWorkbook 
{
    public static Task<GetWorkbookResult> InvokeAsync(GetWorkbookArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkbookResult> Invoke(GetWorkbookInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetWorkbookResult> getWorkbook(GetWorkbookArgs args, InvokeOptions options)
public static Output<GetWorkbookResult> getWorkbook(GetWorkbookArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:applicationinsights:getWorkbook
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workbook resource. The value must be an UUID.
CanFetchContent bool
Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workbook resource. The value must be an UUID.
CanFetchContent bool
Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workbook resource. The value must be an UUID.
canFetchContent Boolean
Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the workbook resource. The value must be an UUID.
canFetchContent boolean
Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
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.
resource_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the workbook resource. The value must be an UUID.
can_fetch_content bool
Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the workbook resource. The value must be an UUID.
canFetchContent Boolean
Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.

getWorkbook Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Category string
Workbook category, as defined by the user at creation time.
DisplayName string
The user-defined name (display name) of the workbook.
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Location string
The geo-location where the resource lives
Name string
The name of the resource
Revision string
The unique revision id for this workbook definition
SerializedData string
Configuration of this particular workbook. Configuration data is a string containing valid JSON
SystemData Pulumi.AzureNative.ApplicationInsights.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
TimeModified 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"
UserId string
Unique user id of the specific user that owns this workbook.
Description string
The description of the workbook.
Etag string
Resource etag
Identity Pulumi.AzureNative.ApplicationInsights.Outputs.WorkbookResourceResponseIdentity
Identity used for BYOS
Kind string
The kind of workbook. Only valid value is shared.
SourceId string
ResourceId for a source resource.
StorageUri string
The resourceId to the storage account when bring your own storage is used
Tags Dictionary<string, string>
Resource tags.
Version string
Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
AzureApiVersion string
The Azure API version of the resource.
Category string
Workbook category, as defined by the user at creation time.
DisplayName string
The user-defined name (display name) of the workbook.
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Location string
The geo-location where the resource lives
Name string
The name of the resource
Revision string
The unique revision id for this workbook definition
SerializedData string
Configuration of this particular workbook. Configuration data is a string containing valid JSON
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
TimeModified 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"
UserId string
Unique user id of the specific user that owns this workbook.
Description string
The description of the workbook.
Etag string
Resource etag
Identity WorkbookResourceResponseIdentity
Identity used for BYOS
Kind string
The kind of workbook. Only valid value is shared.
SourceId string
ResourceId for a source resource.
StorageUri string
The resourceId to the storage account when bring your own storage is used
Tags map[string]string
Resource tags.
Version string
Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
azureApiVersion String
The Azure API version of the resource.
category String
Workbook category, as defined by the user at creation time.
displayName String
The user-defined name (display name) of the workbook.
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
location String
The geo-location where the resource lives
name String
The name of the resource
revision String
The unique revision id for this workbook definition
serializedData String
Configuration of this particular workbook. Configuration data is a string containing valid JSON
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
timeModified 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"
userId String
Unique user id of the specific user that owns this workbook.
description String
The description of the workbook.
etag String
Resource etag
identity WorkbookResourceResponseIdentity
Identity used for BYOS
kind String
The kind of workbook. Only valid value is shared.
sourceId String
ResourceId for a source resource.
storageUri String
The resourceId to the storage account when bring your own storage is used
tags Map<String,String>
Resource tags.
version String
Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
azureApiVersion string
The Azure API version of the resource.
category string
Workbook category, as defined by the user at creation time.
displayName string
The user-defined name (display name) of the workbook.
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
location string
The geo-location where the resource lives
name string
The name of the resource
revision string
The unique revision id for this workbook definition
serializedData string
Configuration of this particular workbook. Configuration data is a string containing valid JSON
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
timeModified 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"
userId string
Unique user id of the specific user that owns this workbook.
description string
The description of the workbook.
etag string
Resource etag
identity WorkbookResourceResponseIdentity
Identity used for BYOS
kind string
The kind of workbook. Only valid value is shared.
sourceId string
ResourceId for a source resource.
storageUri string
The resourceId to the storage account when bring your own storage is used
tags {[key: string]: string}
Resource tags.
version string
Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
azure_api_version str
The Azure API version of the resource.
category str
Workbook category, as defined by the user at creation time.
display_name str
The user-defined name (display name) of the workbook.
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
location str
The geo-location where the resource lives
name str
The name of the resource
revision str
The unique revision id for this workbook definition
serialized_data str
Configuration of this particular workbook. Configuration data is a string containing valid JSON
system_data SystemDataResponse
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.
description str
The description of the workbook.
etag str
Resource etag
identity WorkbookResourceResponseIdentity
Identity used for BYOS
kind str
The kind of workbook. Only valid value is shared.
source_id str
ResourceId for a source resource.
storage_uri str
The resourceId to the storage account when bring your own storage is used
tags Mapping[str, str]
Resource tags.
version str
Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
azureApiVersion String
The Azure API version of the resource.
category String
Workbook category, as defined by the user at creation time.
displayName String
The user-defined name (display name) of the workbook.
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
location String
The geo-location where the resource lives
name String
The name of the resource
revision String
The unique revision id for this workbook definition
serializedData String
Configuration of this particular workbook. Configuration data is a string containing valid JSON
systemData Property Map
Metadata pertaining to creation and last modification of the resource.
timeModified 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"
userId String
Unique user id of the specific user that owns this workbook.
description String
The description of the workbook.
etag String
Resource etag
identity Property Map
Identity used for BYOS
kind String
The kind of workbook. Only valid value is shared.
sourceId String
ResourceId for a source resource.
storageUri String
The resourceId to the storage account when bring your own storage is used
tags Map<String>
Resource tags.
version String
Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData

Supporting Types

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
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_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

UserAssignedIdentityResponse

ClientId This property is required. string
The client ID of the assigned identity.
PrincipalId This property is required. string
The principal ID of the assigned identity.
ClientId This property is required. string
The client ID of the assigned identity.
PrincipalId This property is required. string
The principal ID of the assigned identity.
clientId This property is required. String
The client ID of the assigned identity.
principalId This property is required. String
The principal ID of the assigned identity.
clientId This property is required. string
The client ID of the assigned identity.
principalId This property is required. string
The principal ID of the assigned identity.
client_id This property is required. str
The client ID of the assigned identity.
principal_id This property is required. str
The principal ID of the assigned identity.
clientId This property is required. String
The client ID of the assigned identity.
principalId This property is required. String
The principal ID of the assigned identity.

WorkbookResourceResponseIdentity

PrincipalId This property is required. string
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
Type This property is required. string
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.ApplicationInsights.Inputs.UserAssignedIdentityResponse>
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.
PrincipalId This property is required. string
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
Type This property is required. string
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
UserAssignedIdentities map[string]UserAssignedIdentityResponse
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.
principalId This property is required. String
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. String
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
userAssignedIdentities Map<String,UserAssignedIdentityResponse>
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.
principalId This property is required. string
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. string
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. string
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
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 This property is required. str
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenant_id This property is required. str
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. str
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
user_assigned_identities Mapping[str, UserAssignedIdentityResponse]
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.
principalId This property is required. String
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
type This property is required. String
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
userAssignedIdentities Map<Property Map>
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.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi