1. Packages
  2. Yandex
  3. API Docs
  4. getFunctionScalingPolicy
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

yandex.getFunctionScalingPolicy

Explore with Pulumi AI

yandex logo
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

    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:

    FunctionId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Policies List<GetFunctionScalingPolicyPolicy>
    FunctionId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Policies []GetFunctionScalingPolicyPolicy
    functionId String
    id String
    The provider-assigned unique ID for this managed resource.
    policies List<GetFunctionScalingPolicyPolicy>
    functionId string
    id string
    The provider-assigned unique ID for this managed resource.
    policies GetFunctionScalingPolicyPolicy[]
    function_id str
    id str
    The provider-assigned unique ID for this managed resource.
    policies Sequence[GetFunctionScalingPolicyPolicy]
    functionId String
    id String
    The provider-assigned unique ID for this managed resource.
    policies List<Property Map>

    Supporting Types

    GetFunctionScalingPolicyPolicy

    Package Details

    Repository
    Yandex pulumi/pulumi-yandex
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the yandex Terraform Provider.
    yandex logo
    Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi