Azure Native

Pulumi Official
Package maintained by Pulumi
v1.68.2 published on Tuesday, Aug 16, 2022 by Pulumi

getEnvironment

Deprecated:

Please use one of the variants: Gen1Environment, Gen2Environment.

An environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource. API Version: 2020-05-15.

Using getEnvironment

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 getEnvironment(args: GetEnvironmentArgs, opts?: InvokeOptions): Promise<GetEnvironmentResult>
function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentResult>
def get_environment(environment_name: Optional[str] = None,
                    expand: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetEnvironmentResult
def get_environment_output(environment_name: Optional[pulumi.Input[str]] = None,
                    expand: Optional[pulumi.Input[str]] = None,
                    resource_group_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentResult]
func LookupEnvironment(ctx *Context, args *LookupEnvironmentArgs, opts ...InvokeOption) (*LookupEnvironmentResult, error)
func LookupEnvironmentOutput(ctx *Context, args *LookupEnvironmentOutputArgs, opts ...InvokeOption) LookupEnvironmentResultOutput

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

public static class GetEnvironment 
{
    public static Task<GetEnvironmentResult> InvokeAsync(GetEnvironmentArgs args, InvokeOptions? opts = null)
    public static Output<GetEnvironmentResult> Invoke(GetEnvironmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure-native:timeseriesinsights:getEnvironment
  Arguments:
    # Arguments dictionary

The following arguments are supported:

EnvironmentName string

The name of the Time Series Insights environment associated with the specified resource group.

ResourceGroupName string

Name of an Azure Resource group.

Expand string

Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.

EnvironmentName string

The name of the Time Series Insights environment associated with the specified resource group.

ResourceGroupName string

Name of an Azure Resource group.

Expand string

Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.

environmentName String

The name of the Time Series Insights environment associated with the specified resource group.

resourceGroupName String

Name of an Azure Resource group.

expand String

Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.

environmentName string

The name of the Time Series Insights environment associated with the specified resource group.

resourceGroupName string

Name of an Azure Resource group.

expand string

Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.

environment_name str

The name of the Time Series Insights environment associated with the specified resource group.

resource_group_name str

Name of an Azure Resource group.

expand str

Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.

environmentName String

The name of the Time Series Insights environment associated with the specified resource group.

resourceGroupName String

Name of an Azure Resource group.

expand String

Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.

getEnvironment Result

The following output properties are available:

Id string

Resource Id

Kind string

The kind of the environment.

Location string

Resource location

Name string

Resource name

Sku Pulumi.AzureNative.TimeSeriesInsights.Outputs.SkuResponse

The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.

Type string

Resource type

Tags Dictionary<string, string>

Resource tags

Id string

Resource Id

Kind string

The kind of the environment.

Location string

Resource location

Name string

Resource name

Sku SkuResponse

The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.

Type string

Resource type

Tags map[string]string

Resource tags

id String

Resource Id

kind String

The kind of the environment.

location String

Resource location

name String

Resource name

sku SkuResponse

The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.

type String

Resource type

tags Map<String,String>

Resource tags

id string

Resource Id

kind string

The kind of the environment.

location string

Resource location

name string

Resource name

sku SkuResponse

The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.

type string

Resource type

tags {[key: string]: string}

Resource tags

id str

Resource Id

kind str

The kind of the environment.

location str

Resource location

name str

Resource name

sku SkuResponse

The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.

type str

Resource type

tags Mapping[str, str]

Resource tags

id String

Resource Id

kind String

The kind of the environment.

location String

Resource location

name String

Resource name

sku Property Map

The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.

type String

Resource type

tags Map<String>

Resource tags

Supporting Types

SkuResponse

Capacity int

The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.

Name string

The name of this SKU.

Capacity int

The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.

Name string

The name of this SKU.

capacity Integer

The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.

name String

The name of this SKU.

capacity number

The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.

name string

The name of this SKU.

capacity int

The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.

name str

The name of this SKU.

capacity Number

The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.

name String

The name of this SKU.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0