azure-native.insights.getAnalyticsItem
Explore with Pulumi AI
Gets a specific Analytics Items defined within an Application Insights component. Azure REST API version: 2015-05-01.
Using getAnalyticsItem
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 getAnalyticsItem(args: GetAnalyticsItemArgs, opts?: InvokeOptions): Promise<GetAnalyticsItemResult>
function getAnalyticsItemOutput(args: GetAnalyticsItemOutputArgs, opts?: InvokeOptions): Output<GetAnalyticsItemResult>
def get_analytics_item(id: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
scope_path: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAnalyticsItemResult
def get_analytics_item_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
resource_name: Optional[pulumi.Input[str]] = None,
scope_path: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAnalyticsItemResult]
func LookupAnalyticsItem(ctx *Context, args *LookupAnalyticsItemArgs, opts ...InvokeOption) (*LookupAnalyticsItemResult, error)
func LookupAnalyticsItemOutput(ctx *Context, args *LookupAnalyticsItemOutputArgs, opts ...InvokeOption) LookupAnalyticsItemResultOutput
> Note: This function is named LookupAnalyticsItem
in the Go SDK.
public static class GetAnalyticsItem
{
public static Task<GetAnalyticsItemResult> InvokeAsync(GetAnalyticsItemArgs args, InvokeOptions? opts = null)
public static Output<GetAnalyticsItemResult> Invoke(GetAnalyticsItemInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAnalyticsItemResult> getAnalyticsItem(GetAnalyticsItemArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:insights:getAnalyticsItem
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 Application Insights component resource.
- Scope
Path string Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- Id string
The Id of a specific item defined in the Application Insights component
- Name string
The name of a specific item defined in the Application Insights component
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Resource
Name string The name of the Application Insights component resource.
- Scope
Path string Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- Id string
The Id of a specific item defined in the Application Insights component
- Name string
The name of a specific item defined in the Application Insights component
- resource
Group StringName The name of the resource group. The name is case insensitive.
- resource
Name String The name of the Application Insights component resource.
- scope
Path String Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- id String
The Id of a specific item defined in the Application Insights component
- name String
The name of a specific item defined in the Application Insights component
- resource
Group stringName The name of the resource group. The name is case insensitive.
- resource
Name string The name of the Application Insights component resource.
- scope
Path string Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- id string
The Id of a specific item defined in the Application Insights component
- name string
The name of a specific item defined in the Application Insights component
- resource_
group_ strname The name of the resource group. The name is case insensitive.
- resource_
name str The name of the Application Insights component resource.
- scope_
path str Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- id str
The Id of a specific item defined in the Application Insights component
- name str
The name of a specific item defined in the Application Insights component
- resource
Group StringName The name of the resource group. The name is case insensitive.
- resource
Name String The name of the Application Insights component resource.
- scope
Path String Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- id String
The Id of a specific item defined in the Application Insights component
- name String
The name of a specific item defined in the Application Insights component
getAnalyticsItem Result
The following output properties are available:
- Properties
Pulumi.
Azure Native. Insights. Outputs. Application Insights Component Analytics Item Properties Response A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
- Time
Created string Date and time in UTC when this item was created.
- Time
Modified string Date and time in UTC of the last modification that was made to this item.
- Version string
This instance's version of the data model. This can change as new features are added.
- Content string
The content of this item
- Id string
Internally assigned unique id of the item definition.
- Name string
The user-defined name of the item.
- Scope string
Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- Type string
Enum indicating the type of the Analytics item.
- Properties
Application
Insights Component Analytics Item Properties Response A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
- Time
Created string Date and time in UTC when this item was created.
- Time
Modified string Date and time in UTC of the last modification that was made to this item.
- Version string
This instance's version of the data model. This can change as new features are added.
- Content string
The content of this item
- Id string
Internally assigned unique id of the item definition.
- Name string
The user-defined name of the item.
- Scope string
Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- Type string
Enum indicating the type of the Analytics item.
- properties
Application
Insights Component Analytics Item Properties Response A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
- time
Created String Date and time in UTC when this item was created.
- time
Modified String Date and time in UTC of the last modification that was made to this item.
- version String
This instance's version of the data model. This can change as new features are added.
- content String
The content of this item
- id String
Internally assigned unique id of the item definition.
- name String
The user-defined name of the item.
- scope String
Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- type String
Enum indicating the type of the Analytics item.
- properties
Application
Insights Component Analytics Item Properties Response A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
- time
Created string Date and time in UTC when this item was created.
- time
Modified string Date and time in UTC of the last modification that was made to this item.
- version string
This instance's version of the data model. This can change as new features are added.
- content string
The content of this item
- id string
Internally assigned unique id of the item definition.
- name string
The user-defined name of the item.
- scope string
Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- type string
Enum indicating the type of the Analytics item.
- properties
Application
Insights Component Analytics Item Properties Response A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
- time_
created str Date and time in UTC when this item was created.
- time_
modified str Date and time in UTC of the last modification that was made to this item.
- version str
This instance's version of the data model. This can change as new features are added.
- content str
The content of this item
- id str
Internally assigned unique id of the item definition.
- name str
The user-defined name of the item.
- scope str
Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- type str
Enum indicating the type of the Analytics item.
- properties Property Map
A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
- time
Created String Date and time in UTC when this item was created.
- time
Modified String Date and time in UTC of the last modification that was made to this item.
- version String
This instance's version of the data model. This can change as new features are added.
- content String
The content of this item
- id String
Internally assigned unique id of the item definition.
- name String
The user-defined name of the item.
- scope String
Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- type String
Enum indicating the type of the Analytics item.
Supporting Types
ApplicationInsightsComponentAnalyticsItemPropertiesResponse
- Function
Alias string A function alias, used when the type of the item is Function
- Function
Alias string A function alias, used when the type of the item is Function
- function
Alias String A function alias, used when the type of the item is Function
- function
Alias string A function alias, used when the type of the item is Function
- function_
alias str A function alias, used when the type of the item is Function
- function
Alias String A function alias, used when the type of the item is Function
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0