import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Retrieves autoscaling policy. */ export declare function getAutoscalingPolicy(args: GetAutoscalingPolicyArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetAutoscalingPolicyArgs { autoscalingPolicyId: string; location: string; project?: string; } export interface GetAutoscalingPolicyResult { readonly basicAlgorithm: outputs.dataproc.v1beta2.BasicAutoscalingAlgorithmResponse; /** * The "resource name" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id} */ readonly name: string; /** * Optional. Describes how the autoscaler will operate for secondary workers. */ readonly secondaryWorkerConfig: outputs.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfigResponse; /** * Describes how the autoscaler will operate for primary workers. */ readonly workerConfig: outputs.dataproc.v1beta2.InstanceGroupAutoscalingPolicyConfigResponse; } /** * Retrieves autoscaling policy. */ export declare function getAutoscalingPolicyOutput(args: GetAutoscalingPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetAutoscalingPolicyOutputArgs { autoscalingPolicyId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }