import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::AutoScaling::ScalingConfiguration */ export declare function getScalingConfiguration(args: GetScalingConfigurationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getScalingConfiguration. */ export interface GetScalingConfigurationArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getScalingConfiguration. */ export interface GetScalingConfigurationResult { /** * Resource creation time (UTC) */ readonly createdAt: string; /** * Public IP. */ readonly eip: outputs.autoscaling.GetScalingConfigurationEip; /** * Instance hostname. Value: Linux instances allow periods to separate segments; each segment can contain letters, digits, or hyphens '-'. Cannot start or end with a period '.' or hyphen '-', and periods or hyphens cannot be used consecutively. Linux hostnames must be 2–63 characters long. Windows instances allow letters, digits, or hyphens '-', but cannot be entirely numeric. Cannot start or end with a hyphen '-', and hyphens cannot be used consecutively. Windows hostnames must be 2–15 characters long. If not specified, the hostname is automatically generated as follows: Structure: iv - + initial hostname, for example iv-3tigy72q3u3vj0******. Created instances retain the original hostname generation logic and do not change upon instance restart. Initial hostname generation logic: Linux: extracts all characters after instance ID 'i-'. Windows: extracts the last 12 characters after instance ID 'i-' */ readonly hostName: string; /** * ID of the high-performance computing cluster to which the instance belongs. Only valid when InstanceTypes.N is specified as 'High-Performance Computing GPU'. */ readonly hpcClusterId: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Image ID. The image resource used when the scaling group automatically creates an instance */ readonly imageId: string; /** * Instance billing type. Values: PrePaid (subscription) / PostPaid (pay-as-you-go) */ readonly instanceChargeType: string; /** * Instance description. Value: Cannot start with a digit or hyphen. Only Chinese characters, letters, digits, underscores, and hyphens are allowed. Length must be between 0 and 255 characters. If not specified, defaults to an empty string */ readonly instanceDescription: string; /** * Instance name. Rules: Must start with a letter or Chinese character. Can only contain Chinese characters, letters, numbers, underscore "_", hyphen "-", and period ".". Length: 1–128 characters. */ readonly instanceName: string; /** * Specification information for preemptible instances */ readonly instanceTypeOverrides: outputs.autoscaling.GetScalingConfigurationInstanceTypeOverride[]; /** * List of compute specifications for the instance */ readonly instanceTypes: string[]; /** * Assign an IPv6 address to the instance NIC. Values: 0: Do not assign an IPv6 address. 1: Assign an IPv6 address; the system automatically allocates an IPv6 subnet for you. */ readonly ipv6AddressCount: number; /** * Name of the key pair. If both KeyPairName and Password are set, only KeyPairName takes effect */ readonly keyPairName: string; /** * Lifecycle status. Values: Active (active) / InActive (inactive) */ readonly lifecycleState: string; /** * When logging in to the instance using the 'Password' method, set the root login password: The password must be 8–30 characters long and consist of uppercase letters, lowercase letters, numbers, and special characters. At least three types must be included. Allowed special characters: `~!#$%^&*()_-+= |. The password cannot start with '/' or '$6$' */ readonly password: string; /** * The project to which the instance created by the scaling configuration belongs. Default is empty. Each resource can belong to only one project. * Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. * Maximum length: 64 characters */ readonly projectName: string; /** * Scaling configuration ID */ readonly scalingConfigurationId: string; /** * Name of the scaling configuration. The name must be unique within the same scaling group in the same region. Rules: Must start with a Chinese character or letter. Can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length: 1–128 characters. Special characters are not supported. */ readonly scalingConfigurationName: string; /** * Scaling group ID to which the scaling configuration belongs */ readonly scalingGroupId: string; /** * Enable security hardening. Options: Active: Enable security hardening, applies only to public images. InActive: Disable security hardening, applies to all images. */ readonly securityEnhancementStrategy: string; /** * Security group ID associated with the instance's primary network interface */ readonly securityGroupIds: string[]; /** * Instance preemption policy. Values: NoSpot (default): creates a standard pay-as-you-go instance. SpotAsPriceGo: system automatically bids, creating a preemptible instance that follows the current market price. SpotWithPriceLimit: creates a preemptible instance with a specified bid limit */ readonly spotStrategy: string; /** * Tag key-value pairs */ readonly tags: outputs.autoscaling.GetScalingConfigurationTag[]; /** * Resource update time (UTC) */ readonly updatedAt: string; /** * Instance custom data. Custom data must be Base64 encoded, and the size before encoding must not exceed 16 KB. If not specified, defaults to empty */ readonly userData: string; /** * Cloud disk */ readonly volumes: outputs.autoscaling.GetScalingConfigurationVolume[]; /** * Availability zone ID for the scaling configuration */ readonly zoneId: string; } /** * Data Source schema for Volcengine::AutoScaling::ScalingConfiguration */ export declare function getScalingConfigurationOutput(args: GetScalingConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getScalingConfiguration. */ export interface GetScalingConfigurationOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }