1. Packages
  2. Azure Native
  3. API Docs
  4. operationalinsights
  5. getQueryPack
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.29.0 published on Friday, Feb 16, 2024 by Pulumi

azure-native.operationalinsights.getQueryPack

Explore with Pulumi AI

azure-native logo
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.29.0 published on Friday, Feb 16, 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:

    QueryPackName string
    The name of the Log Analytics QueryPack resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    QueryPackName string
    The name of the Log Analytics QueryPack resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    queryPackName String
    The name of the Log Analytics QueryPack resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    queryPackName string
    The name of the Log Analytics QueryPack resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    query_pack_name str
    The name of the Log Analytics QueryPack resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    queryPackName String
    The name of the Log Analytics QueryPack resource.
    resourceGroupName String
    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
    ProvisioningState 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.
    QueryPackId string
    The unique ID of your application. This field cannot be changed.
    TimeCreated string
    Creation Date for the Log Analytics QueryPack, in ISO 8601 format.
    TimeModified string
    Last modified date of the Log Analytics QueryPack, in ISO 8601 format.
    Type string
    Azure resource type
    Tags Dictionary<string, string>
    Resource tags
    Id string
    Azure resource Id
    Location string
    Resource location
    Name string
    Azure resource name
    ProvisioningState 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.
    QueryPackId string
    The unique ID of your application. This field cannot be changed.
    TimeCreated string
    Creation Date for the Log Analytics QueryPack, in ISO 8601 format.
    TimeModified string
    Last modified date of the Log Analytics QueryPack, in ISO 8601 format.
    Type string
    Azure resource type
    Tags map[string]string
    Resource tags
    id String
    Azure resource Id
    location String
    Resource location
    name String
    Azure resource name
    provisioningState 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.
    queryPackId String
    The unique ID of your application. This field cannot be changed.
    timeCreated String
    Creation Date for the Log Analytics QueryPack, in ISO 8601 format.
    timeModified String
    Last modified date of the Log Analytics QueryPack, in ISO 8601 format.
    type String
    Azure resource type
    tags Map<String,String>
    Resource tags
    id string
    Azure resource Id
    location string
    Resource location
    name string
    Azure resource name
    provisioningState 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.
    queryPackId string
    The unique ID of your application. This field cannot be changed.
    timeCreated string
    Creation Date for the Log Analytics QueryPack, in ISO 8601 format.
    timeModified string
    Last modified date of the Log Analytics QueryPack, in ISO 8601 format.
    type string
    Azure resource type
    tags {[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_id str
    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
    tags Mapping[str, str]
    Resource tags
    id String
    Azure resource Id
    location String
    Resource location
    name String
    Azure resource name
    provisioningState 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.
    queryPackId String
    The unique ID of your application. This field cannot be changed.
    timeCreated String
    Creation Date for the Log Analytics QueryPack, in ISO 8601 format.
    timeModified String
    Last modified date of the Log Analytics QueryPack, in ISO 8601 format.
    type String
    Azure resource type
    tags Map<String>
    Resource tags

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.29.0 published on Friday, Feb 16, 2024 by Pulumi