Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi
yandex.getFunctionScalingPolicy
Explore with Pulumi AI
Using getFunctionScalingPolicy
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 getFunctionScalingPolicy(args: GetFunctionScalingPolicyArgs, opts?: InvokeOptions): Promise<GetFunctionScalingPolicyResult>
function getFunctionScalingPolicyOutput(args: GetFunctionScalingPolicyOutputArgs, opts?: InvokeOptions): Output<GetFunctionScalingPolicyResult>
def get_function_scaling_policy(function_id: Optional[str] = None,
policies: Optional[Sequence[GetFunctionScalingPolicyPolicy]] = None,
opts: Optional[InvokeOptions] = None) -> GetFunctionScalingPolicyResult
def get_function_scaling_policy_output(function_id: Optional[pulumi.Input[str]] = None,
policies: Optional[pulumi.Input[Sequence[pulumi.Input[GetFunctionScalingPolicyPolicyArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFunctionScalingPolicyResult]
func LookupFunctionScalingPolicy(ctx *Context, args *LookupFunctionScalingPolicyArgs, opts ...InvokeOption) (*LookupFunctionScalingPolicyResult, error)
func LookupFunctionScalingPolicyOutput(ctx *Context, args *LookupFunctionScalingPolicyOutputArgs, opts ...InvokeOption) LookupFunctionScalingPolicyResultOutput
> Note: This function is named LookupFunctionScalingPolicy
in the Go SDK.
public static class GetFunctionScalingPolicy
{
public static Task<GetFunctionScalingPolicyResult> InvokeAsync(GetFunctionScalingPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetFunctionScalingPolicyResult> Invoke(GetFunctionScalingPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFunctionScalingPolicyResult> getFunctionScalingPolicy(GetFunctionScalingPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: yandex:index/getFunctionScalingPolicy:getFunctionScalingPolicy
arguments:
# arguments dictionary
The following arguments are supported:
getFunctionScalingPolicy Result
The following output properties are available:
- Function
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Policies
List<Get
Function Scaling Policy Policy>
- Function
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Policies
[]Get
Function Scaling Policy Policy
- function
Id String - id String
- The provider-assigned unique ID for this managed resource.
- policies
List<Get
Function Scaling Policy Policy>
- function
Id string - id string
- The provider-assigned unique ID for this managed resource.
- policies
Get
Function Scaling Policy Policy[]
- function_
id str - id str
- The provider-assigned unique ID for this managed resource.
- policies
Sequence[Get
Function Scaling Policy Policy]
- function
Id String - id String
- The provider-assigned unique ID for this managed resource.
- policies List<Property Map>
Supporting Types
GetFunctionScalingPolicyPolicy
- Tag string
- Zone
Instances intLimit - Zone
Requests intLimit
- Tag string
- Zone
Instances intLimit - Zone
Requests intLimit
- tag String
- zone
Instances IntegerLimit - zone
Requests IntegerLimit
- tag string
- zone
Instances numberLimit - zone
Requests numberLimit
- tag str
- zone_
instances_ intlimit - zone_
requests_ intlimit
- tag String
- zone
Instances NumberLimit - zone
Requests NumberLimit
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandex
Terraform Provider.