getFunctionScalingPolicy

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)
}

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 GetFunctionScalingPolicyPolicy[]
function_id str
id str
The provider-assigned unique ID for this managed resource.
policies Sequence[GetFunctionScalingPolicyPolicy]

Supporting Types

GetFunctionScalingPolicyPolicy

Package Details

Repository
https://github.com/pulumi/pulumi-yandex
License
Apache-2.0
Notes
This Pulumi package is based on the yandex Terraform Provider.