This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.insights.getWorkbook
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Get a single workbook by its resourceName. Azure REST API version: 2022-04-01.
Other available API versions: 2015-05-01, 2021-03-08, 2021-08-01, 2023-06-01.
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>
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]
func LookupWorkbook(ctx *Context, args *LookupWorkbookArgs, opts ...InvokeOption) (*LookupWorkbookResult, error)
func LookupWorkbookOutput(ctx *Context, args *LookupWorkbookOutputArgs, opts ...InvokeOption) LookupWorkbookResultOutput
> 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)
}
public static CompletableFuture<GetWorkbookResult> getWorkbook(GetWorkbookArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:insights:getWorkbook
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the resource.
- Can
Fetch boolContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the resource.
- Can
Fetch boolContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the resource.
- can
Fetch BooleanContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Name string - The name of the resource.
- can
Fetch booleanContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- resource_
name str - The name of the resource.
- can_
fetch_ boolcontent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the resource.
- can
Fetch BooleanContent - 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:
- Category string
- Workbook category, as defined by the user at creation time.
- Display
Name 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
- Serialized
Data string - Configuration of this particular workbook. Configuration data is a string containing valid JSON
- 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.
- Description string
- The description of the workbook.
- Etag string
- Resource etag
- Identity
Pulumi.
Azure Native. Insights. Outputs. Workbook Resource Response Identity - Identity used for BYOS
- Kind string
- The kind of workbook. Only valid value is shared.
- 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.
- 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
- Serialized
Data string - Configuration of this particular workbook. Configuration data is a string containing valid JSON
- 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.
- Description string
- The description of the workbook.
- Etag string
- Resource etag
- Identity
Workbook
Resource Response Identity - Identity used for BYOS
- Kind string
- The kind of workbook. Only valid value is shared.
- 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.
- 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
- serialized
Data String - Configuration of this particular workbook. Configuration data is a string containing valid JSON
- 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.
- description String
- The description of the workbook.
- etag String
- Resource etag
- identity
Workbook
Resource Response Identity - Identity used for BYOS
- kind String
- The kind of workbook. Only valid value is shared.
- 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.
- 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
- serialized
Data string - Configuration of this particular workbook. Configuration data is a string containing valid JSON
- 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.
- description string
- The description of the workbook.
- etag string
- Resource etag
- identity
Workbook
Resource Response Identity - Identity used for BYOS
- kind string
- The kind of workbook. Only valid value is shared.
- 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.
- 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 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.
- description str
- The description of the workbook.
- etag str
- Resource etag
- identity
Workbook
Resource Response Identity - 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
- 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.
- 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
- serialized
Data String - Configuration of this particular workbook. Configuration data is a string containing valid JSON
- 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.
- 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.
- 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
Supporting Types
SystemDataResponse
- 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
- 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.
WorkbookResourceResponseIdentity
- 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.
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 v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi