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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.operationalinsights.getQueryPack
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Returns a Log Analytics QueryPack. Azure REST API version: 2019-09-01.
Other available API versions: 2019-09-01-preview.
Using getQueryPack
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 getQueryPack(args: GetQueryPackArgs, opts?: InvokeOptions): Promise<GetQueryPackResult>
function getQueryPackOutput(args: GetQueryPackOutputArgs, opts?: InvokeOptions): Output<GetQueryPackResult>
def get_query_pack(query_pack_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetQueryPackResult
def get_query_pack_output(query_pack_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetQueryPackResult]
func LookupQueryPack(ctx *Context, args *LookupQueryPackArgs, opts ...InvokeOption) (*LookupQueryPackResult, error)
func LookupQueryPackOutput(ctx *Context, args *LookupQueryPackOutputArgs, opts ...InvokeOption) LookupQueryPackResultOutput
> Note: This function is named LookupQueryPack
in the Go SDK.
public static class GetQueryPack
{
public static Task<GetQueryPackResult> InvokeAsync(GetQueryPackArgs args, InvokeOptions? opts = null)
public static Output<GetQueryPackResult> Invoke(GetQueryPackInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetQueryPackResult> getQueryPack(GetQueryPackArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:operationalinsights:getQueryPack
arguments:
# arguments dictionary
The following arguments are supported:
- Query
Pack stringName - The name of the Log Analytics QueryPack resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Query
Pack stringName - The name of the Log Analytics QueryPack resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- query
Pack StringName - The name of the Log Analytics QueryPack resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- query
Pack stringName - The name of the Log Analytics QueryPack resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- query_
pack_ strname - The name of the Log Analytics QueryPack resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- query
Pack StringName - The name of the Log Analytics QueryPack resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getQueryPack Result
The following output properties are available:
- Id string
- Azure resource Id
- Location string
- Resource location
- Name string
- Azure resource name
- Provisioning
State string - Current state of this QueryPack: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
- Query
Pack stringId - The unique ID of your application. This field cannot be changed.
- Time
Created string - Creation Date for the Log Analytics QueryPack, in ISO 8601 format.
- Time
Modified string - Last modified date of the Log Analytics QueryPack, in ISO 8601 format.
- Type string
- Azure resource type
- Dictionary<string, string>
- Resource tags
- Id string
- Azure resource Id
- Location string
- Resource location
- Name string
- Azure resource name
- Provisioning
State string - Current state of this QueryPack: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
- Query
Pack stringId - The unique ID of your application. This field cannot be changed.
- Time
Created string - Creation Date for the Log Analytics QueryPack, in ISO 8601 format.
- Time
Modified string - Last modified date of the Log Analytics QueryPack, in ISO 8601 format.
- Type string
- Azure resource type
- map[string]string
- Resource tags
- id String
- Azure resource Id
- location String
- Resource location
- name String
- Azure resource name
- provisioning
State String - Current state of this QueryPack: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
- query
Pack StringId - The unique ID of your application. This field cannot be changed.
- time
Created String - Creation Date for the Log Analytics QueryPack, in ISO 8601 format.
- time
Modified String - Last modified date of the Log Analytics QueryPack, in ISO 8601 format.
- type String
- Azure resource type
- Map<String,String>
- Resource tags
- id string
- Azure resource Id
- location string
- Resource location
- name string
- Azure resource name
- provisioning
State string - Current state of this QueryPack: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
- query
Pack stringId - The unique ID of your application. This field cannot be changed.
- time
Created string - Creation Date for the Log Analytics QueryPack, in ISO 8601 format.
- time
Modified string - Last modified date of the Log Analytics QueryPack, in ISO 8601 format.
- type string
- Azure resource type
- {[key: string]: string}
- Resource tags
- id str
- Azure resource Id
- location str
- Resource location
- name str
- Azure resource name
- provisioning_
state str - Current state of this QueryPack: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
- query_
pack_ strid - The unique ID of your application. This field cannot be changed.
- time_
created str - Creation Date for the Log Analytics QueryPack, in ISO 8601 format.
- time_
modified str - Last modified date of the Log Analytics QueryPack, in ISO 8601 format.
- type str
- Azure resource type
- Mapping[str, str]
- Resource tags
- id String
- Azure resource Id
- location String
- Resource location
- name String
- Azure resource name
- provisioning
State String - Current state of this QueryPack: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
- query
Pack StringId - The unique ID of your application. This field cannot be changed.
- time
Created String - Creation Date for the Log Analytics QueryPack, in ISO 8601 format.
- time
Modified String - Last modified date of the Log Analytics QueryPack, in ISO 8601 format.
- type String
- Azure resource type
- Map<String>
- Resource tags
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi