Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi
yandex.getComputeInstanceGroup
Explore with Pulumi AI
Get information about a Yandex Compute instance group.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const myGroup = pulumi.output(yandex.getComputeInstanceGroup({
instanceGroupId: "some_instance_group_id",
}));
export const instanceExternalIp = myGroup.instances[*].networkInterface.0.natIpAddress;
Coming soon!
Using getComputeInstanceGroup
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 getComputeInstanceGroup(args: GetComputeInstanceGroupArgs, opts?: InvokeOptions): Promise<GetComputeInstanceGroupResult>
function getComputeInstanceGroupOutput(args: GetComputeInstanceGroupOutputArgs, opts?: InvokeOptions): Output<GetComputeInstanceGroupResult>
def get_compute_instance_group(instance_group_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetComputeInstanceGroupResult
def get_compute_instance_group_output(instance_group_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetComputeInstanceGroupResult]
func LookupComputeInstanceGroup(ctx *Context, args *LookupComputeInstanceGroupArgs, opts ...InvokeOption) (*LookupComputeInstanceGroupResult, error)
func LookupComputeInstanceGroupOutput(ctx *Context, args *LookupComputeInstanceGroupOutputArgs, opts ...InvokeOption) LookupComputeInstanceGroupResultOutput
> Note: This function is named LookupComputeInstanceGroup
in the Go SDK.
public static class GetComputeInstanceGroup
{
public static Task<GetComputeInstanceGroupResult> InvokeAsync(GetComputeInstanceGroupArgs args, InvokeOptions? opts = null)
public static Output<GetComputeInstanceGroupResult> Invoke(GetComputeInstanceGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetComputeInstanceGroupResult> getComputeInstanceGroup(GetComputeInstanceGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: yandex:index/getComputeInstanceGroup:getComputeInstanceGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Group stringId - The ID of a specific instance group.
- Instance
Group stringId - The ID of a specific instance group.
- instance
Group StringId - The ID of a specific instance group.
- instance
Group stringId - The ID of a specific instance group.
- instance_
group_ strid - The ID of a specific instance group.
- instance
Group StringId - The ID of a specific instance group.
getComputeInstanceGroup Result
The following output properties are available:
- Allocation
Policies List<GetCompute Instance Group Allocation Policy> - The allocation policy of the instance group by zone and region. The structure is documented below.
- Application
Balancer List<GetStates Compute Instance Group Application Balancer State> - Application
Load List<GetBalancers Compute Instance Group Application Load Balancer> - Application Load balancing (L7) specifications. The structure is documented below.
- Created
At string - The instance group creation timestamp.
- Deletion
Protection bool - Flag that protects the instance group from accidental deletion.
- Deploy
Policies List<GetCompute Instance Group Deploy Policy> - The deployment policy of the instance group. The structure is documented below.
- Description string
- A description of the boot disk.
- Folder
Id string - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- Health
Checks List<GetCompute Instance Group Health Check> - Health check specification. The structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Group stringId - Instance
Templates List<GetCompute Instance Group Instance Template> - The instance template that the instance group belongs to. The structure is documented below.
- Instances
List<Get
Compute Instance Group Instance> - A list of instances in the specified instance group. The structure is documented below.
- Labels Dictionary<string, string>
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- Load
Balancer List<GetStates Compute Instance Group Load Balancer State> - Information about which entities can be attached to this load balancer. The structure is documented below.
- Load
Balancers List<GetCompute Instance Group Load Balancer> - Load balancing specification. The structure is documented below.
- Max
Checking intHealth Duration - Timeout for waiting for the VM to become healthy. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- Name string
- The name of the managed instance.
- Scale
Policies List<GetCompute Instance Group Scale Policy> - The scaling policy of the instance group. The structure is documented below.
- Service
Account stringId - The service account ID for the instance.
- Status string
- The status of the instance.
- Variables Dictionary<string, string>
- A set of key/value variables pairs to assign to the instance group.
- Allocation
Policies []GetCompute Instance Group Allocation Policy - The allocation policy of the instance group by zone and region. The structure is documented below.
- Application
Balancer []GetStates Compute Instance Group Application Balancer State - Application
Load []GetBalancers Compute Instance Group Application Load Balancer - Application Load balancing (L7) specifications. The structure is documented below.
- Created
At string - The instance group creation timestamp.
- Deletion
Protection bool - Flag that protects the instance group from accidental deletion.
- Deploy
Policies []GetCompute Instance Group Deploy Policy - The deployment policy of the instance group. The structure is documented below.
- Description string
- A description of the boot disk.
- Folder
Id string - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- Health
Checks []GetCompute Instance Group Health Check - Health check specification. The structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Group stringId - Instance
Templates []GetCompute Instance Group Instance Template - The instance template that the instance group belongs to. The structure is documented below.
- Instances
[]Get
Compute Instance Group Instance - A list of instances in the specified instance group. The structure is documented below.
- Labels map[string]string
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- Load
Balancer []GetStates Compute Instance Group Load Balancer State - Information about which entities can be attached to this load balancer. The structure is documented below.
- Load
Balancers []GetCompute Instance Group Load Balancer - Load balancing specification. The structure is documented below.
- Max
Checking intHealth Duration - Timeout for waiting for the VM to become healthy. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- Name string
- The name of the managed instance.
- Scale
Policies []GetCompute Instance Group Scale Policy - The scaling policy of the instance group. The structure is documented below.
- Service
Account stringId - The service account ID for the instance.
- Status string
- The status of the instance.
- Variables map[string]string
- A set of key/value variables pairs to assign to the instance group.
- allocation
Policies List<GetCompute Instance Group Allocation Policy> - The allocation policy of the instance group by zone and region. The structure is documented below.
- application
Balancer List<GetStates Compute Instance Group Application Balancer State> - application
Load List<GetBalancers Compute Instance Group Application Load Balancer> - Application Load balancing (L7) specifications. The structure is documented below.
- created
At String - The instance group creation timestamp.
- deletion
Protection Boolean - Flag that protects the instance group from accidental deletion.
- deploy
Policies List<GetCompute Instance Group Deploy Policy> - The deployment policy of the instance group. The structure is documented below.
- description String
- A description of the boot disk.
- folder
Id String - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- health
Checks List<GetCompute Instance Group Health Check> - Health check specification. The structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Group StringId - instance
Templates List<GetCompute Instance Group Instance Template> - The instance template that the instance group belongs to. The structure is documented below.
- instances
List<Get
Compute Instance Group Instance> - A list of instances in the specified instance group. The structure is documented below.
- labels Map<String,String>
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- load
Balancer List<GetStates Compute Instance Group Load Balancer State> - Information about which entities can be attached to this load balancer. The structure is documented below.
- load
Balancers List<GetCompute Instance Group Load Balancer> - Load balancing specification. The structure is documented below.
- max
Checking IntegerHealth Duration - Timeout for waiting for the VM to become healthy. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- name String
- The name of the managed instance.
- scale
Policies List<GetCompute Instance Group Scale Policy> - The scaling policy of the instance group. The structure is documented below.
- service
Account StringId - The service account ID for the instance.
- status String
- The status of the instance.
- variables Map<String,String>
- A set of key/value variables pairs to assign to the instance group.
- allocation
Policies GetCompute Instance Group Allocation Policy[] - The allocation policy of the instance group by zone and region. The structure is documented below.
- application
Balancer GetStates Compute Instance Group Application Balancer State[] - application
Load GetBalancers Compute Instance Group Application Load Balancer[] - Application Load balancing (L7) specifications. The structure is documented below.
- created
At string - The instance group creation timestamp.
- deletion
Protection boolean - Flag that protects the instance group from accidental deletion.
- deploy
Policies GetCompute Instance Group Deploy Policy[] - The deployment policy of the instance group. The structure is documented below.
- description string
- A description of the boot disk.
- folder
Id string - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- health
Checks GetCompute Instance Group Health Check[] - Health check specification. The structure is documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Group stringId - instance
Templates GetCompute Instance Group Instance Template[] - The instance template that the instance group belongs to. The structure is documented below.
- instances
Get
Compute Instance Group Instance[] - A list of instances in the specified instance group. The structure is documented below.
- labels {[key: string]: string}
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- load
Balancer GetStates Compute Instance Group Load Balancer State[] - Information about which entities can be attached to this load balancer. The structure is documented below.
- load
Balancers GetCompute Instance Group Load Balancer[] - Load balancing specification. The structure is documented below.
- max
Checking numberHealth Duration - Timeout for waiting for the VM to become healthy. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- name string
- The name of the managed instance.
- scale
Policies GetCompute Instance Group Scale Policy[] - The scaling policy of the instance group. The structure is documented below.
- service
Account stringId - The service account ID for the instance.
- status string
- The status of the instance.
- variables {[key: string]: string}
- A set of key/value variables pairs to assign to the instance group.
- allocation_
policies Sequence[GetCompute Instance Group Allocation Policy] - The allocation policy of the instance group by zone and region. The structure is documented below.
- application_
balancer_ Sequence[Getstates Compute Instance Group Application Balancer State] - application_
load_ Sequence[Getbalancers Compute Instance Group Application Load Balancer] - Application Load balancing (L7) specifications. The structure is documented below.
- created_
at str - The instance group creation timestamp.
- deletion_
protection bool - Flag that protects the instance group from accidental deletion.
- deploy_
policies Sequence[GetCompute Instance Group Deploy Policy] - The deployment policy of the instance group. The structure is documented below.
- description str
- A description of the boot disk.
- folder_
id str - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- health_
checks Sequence[GetCompute Instance Group Health Check] - Health check specification. The structure is documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
group_ strid - instance_
templates Sequence[GetCompute Instance Group Instance Template] - The instance template that the instance group belongs to. The structure is documented below.
- instances
Sequence[Get
Compute Instance Group Instance] - A list of instances in the specified instance group. The structure is documented below.
- labels Mapping[str, str]
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- load_
balancer_ Sequence[Getstates Compute Instance Group Load Balancer State] - Information about which entities can be attached to this load balancer. The structure is documented below.
- load_
balancers Sequence[GetCompute Instance Group Load Balancer] - Load balancing specification. The structure is documented below.
- max_
checking_ inthealth_ duration - Timeout for waiting for the VM to become healthy. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- name str
- The name of the managed instance.
- scale_
policies Sequence[GetCompute Instance Group Scale Policy] - The scaling policy of the instance group. The structure is documented below.
- service_
account_ strid - The service account ID for the instance.
- status str
- The status of the instance.
- variables Mapping[str, str]
- A set of key/value variables pairs to assign to the instance group.
- allocation
Policies List<Property Map> - The allocation policy of the instance group by zone and region. The structure is documented below.
- application
Balancer List<Property Map>States - application
Load List<Property Map>Balancers - Application Load balancing (L7) specifications. The structure is documented below.
- created
At String - The instance group creation timestamp.
- deletion
Protection Boolean - Flag that protects the instance group from accidental deletion.
- deploy
Policies List<Property Map> - The deployment policy of the instance group. The structure is documented below.
- description String
- A description of the boot disk.
- folder
Id String - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- health
Checks List<Property Map> - Health check specification. The structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Group StringId - instance
Templates List<Property Map> - The instance template that the instance group belongs to. The structure is documented below.
- instances List<Property Map>
- A list of instances in the specified instance group. The structure is documented below.
- labels Map<String>
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- load
Balancer List<Property Map>States - Information about which entities can be attached to this load balancer. The structure is documented below.
- load
Balancers List<Property Map> - Load balancing specification. The structure is documented below.
- max
Checking NumberHealth Duration - Timeout for waiting for the VM to become healthy. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- name String
- The name of the managed instance.
- scale
Policies List<Property Map> - The scaling policy of the instance group. The structure is documented below.
- service
Account StringId - The service account ID for the instance.
- status String
- The status of the instance.
- variables Map<String>
- A set of key/value variables pairs to assign to the instance group.
Supporting Types
GetComputeInstanceGroupAllocationPolicy
- Zones List<string>
- A list of availability zones.
- Zones []string
- A list of availability zones.
- zones List<String>
- A list of availability zones.
- zones string[]
- A list of availability zones.
- zones Sequence[str]
- A list of availability zones.
- zones List<String>
- A list of availability zones.
GetComputeInstanceGroupApplicationBalancerState
- Status
Message string - The status message of the target group.
- Target
Group stringId - The ID of the target group.
- Status
Message string - The status message of the target group.
- Target
Group stringId - The ID of the target group.
- status
Message String - The status message of the target group.
- target
Group StringId - The ID of the target group.
- status
Message string - The status message of the target group.
- target
Group stringId - The ID of the target group.
- status_
message str - The status message of the target group.
- target_
group_ strid - The ID of the target group.
- status
Message String - The status message of the target group.
- target
Group StringId - The ID of the target group.
GetComputeInstanceGroupApplicationLoadBalancer
- Max
Opening intTraffic Duration - Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- Status
Message string - The status message of the target group.
- Target
Group stringDescription - A description of the target group.
- Target
Group stringId - The ID of the target group.
- Target
Group Dictionary<string, string>Labels - A set of key/value label pairs.
- Target
Group stringName - The name of the target group.
- Max
Opening intTraffic Duration - Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- Status
Message string - The status message of the target group.
- Target
Group stringDescription - A description of the target group.
- Target
Group stringId - The ID of the target group.
- Target
Group map[string]stringLabels - A set of key/value label pairs.
- Target
Group stringName - The name of the target group.
- max
Opening IntegerTraffic Duration - Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- status
Message String - The status message of the target group.
- target
Group StringDescription - A description of the target group.
- target
Group StringId - The ID of the target group.
- target
Group Map<String,String>Labels - A set of key/value label pairs.
- target
Group StringName - The name of the target group.
- max
Opening numberTraffic Duration - Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- status
Message string - The status message of the target group.
- target
Group stringDescription - A description of the target group.
- target
Group stringId - The ID of the target group.
- target
Group {[key: string]: string}Labels - A set of key/value label pairs.
- target
Group stringName - The name of the target group.
- max_
opening_ inttraffic_ duration - Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- status_
message str - The status message of the target group.
- target_
group_ strdescription - A description of the target group.
- target_
group_ strid - The ID of the target group.
- target_
group_ Mapping[str, str]labels - A set of key/value label pairs.
- target_
group_ strname - The name of the target group.
- max
Opening NumberTraffic Duration - Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- status
Message String - The status message of the target group.
- target
Group StringDescription - A description of the target group.
- target
Group StringId - The ID of the target group.
- target
Group Map<String>Labels - A set of key/value label pairs.
- target
Group StringName - The name of the target group.
GetComputeInstanceGroupDeployPolicy
- Max
Creating int - The maximum number of instances that can be created at the same time.
- Max
Deleting int - The maximum number of instances that can be deleted at the same time.
- Max
Expansion int - The maximum number of instances that can be temporarily allocated above the group's target size during the update process.
- int
- The maximum number of running instances that can be taken offline (stopped or deleted) at the same time during the update process.
- Startup
Duration int - The amount of time in seconds to allow for an instance to start.
- Strategy string
- Affects the lifecycle of the instance during deployment. If set to
proactive
(default), Instance Groups can forcefully stop a running instance. Ifopportunistic
, Instance Groups does not stop a running instance. Instead, it will wait until the instance stops itself or becomes unhealthy.
- Max
Creating int - The maximum number of instances that can be created at the same time.
- Max
Deleting int - The maximum number of instances that can be deleted at the same time.
- Max
Expansion int - The maximum number of instances that can be temporarily allocated above the group's target size during the update process.
- int
- The maximum number of running instances that can be taken offline (stopped or deleted) at the same time during the update process.
- Startup
Duration int - The amount of time in seconds to allow for an instance to start.
- Strategy string
- Affects the lifecycle of the instance during deployment. If set to
proactive
(default), Instance Groups can forcefully stop a running instance. Ifopportunistic
, Instance Groups does not stop a running instance. Instead, it will wait until the instance stops itself or becomes unhealthy.
- max
Creating Integer - The maximum number of instances that can be created at the same time.
- max
Deleting Integer - The maximum number of instances that can be deleted at the same time.
- max
Expansion Integer - The maximum number of instances that can be temporarily allocated above the group's target size during the update process.
- Integer
- The maximum number of running instances that can be taken offline (stopped or deleted) at the same time during the update process.
- startup
Duration Integer - The amount of time in seconds to allow for an instance to start.
- strategy String
- Affects the lifecycle of the instance during deployment. If set to
proactive
(default), Instance Groups can forcefully stop a running instance. Ifopportunistic
, Instance Groups does not stop a running instance. Instead, it will wait until the instance stops itself or becomes unhealthy.
- max
Creating number - The maximum number of instances that can be created at the same time.
- max
Deleting number - The maximum number of instances that can be deleted at the same time.
- max
Expansion number - The maximum number of instances that can be temporarily allocated above the group's target size during the update process.
- number
- The maximum number of running instances that can be taken offline (stopped or deleted) at the same time during the update process.
- startup
Duration number - The amount of time in seconds to allow for an instance to start.
- strategy string
- Affects the lifecycle of the instance during deployment. If set to
proactive
(default), Instance Groups can forcefully stop a running instance. Ifopportunistic
, Instance Groups does not stop a running instance. Instead, it will wait until the instance stops itself or becomes unhealthy.
- max_
creating int - The maximum number of instances that can be created at the same time.
- max_
deleting int - The maximum number of instances that can be deleted at the same time.
- max_
expansion int - The maximum number of instances that can be temporarily allocated above the group's target size during the update process.
- int
- The maximum number of running instances that can be taken offline (stopped or deleted) at the same time during the update process.
- startup_
duration int - The amount of time in seconds to allow for an instance to start.
- strategy str
- Affects the lifecycle of the instance during deployment. If set to
proactive
(default), Instance Groups can forcefully stop a running instance. Ifopportunistic
, Instance Groups does not stop a running instance. Instead, it will wait until the instance stops itself or becomes unhealthy.
- max
Creating Number - The maximum number of instances that can be created at the same time.
- max
Deleting Number - The maximum number of instances that can be deleted at the same time.
- max
Expansion Number - The maximum number of instances that can be temporarily allocated above the group's target size during the update process.
- Number
- The maximum number of running instances that can be taken offline (stopped or deleted) at the same time during the update process.
- startup
Duration Number - The amount of time in seconds to allow for an instance to start.
- strategy String
- Affects the lifecycle of the instance during deployment. If set to
proactive
(default), Instance Groups can forcefully stop a running instance. Ifopportunistic
, Instance Groups does not stop a running instance. Instead, it will wait until the instance stops itself or becomes unhealthy.
GetComputeInstanceGroupHealthCheck
- Healthy
Threshold int - The number of successful health checks before the managed instance is declared healthy.
- Http
Options List<GetCompute Instance Group Health Check Http Option> - HTTP check options. The structure is documented below.
- Interval int
- The interval between health checks in seconds.
- Tcp
Options List<GetCompute Instance Group Health Check Tcp Option> - TCP check options. The structure is documented below.
- Timeout int
- Timeout for the managed instance to return a response for the health check in seconds.
- Unhealthy
Threshold int - The number of failed health checks before the managed instance is declared unhealthy.
- Healthy
Threshold int - The number of successful health checks before the managed instance is declared healthy.
- Http
Options []GetCompute Instance Group Health Check Http Option - HTTP check options. The structure is documented below.
- Interval int
- The interval between health checks in seconds.
- Tcp
Options []GetCompute Instance Group Health Check Tcp Option - TCP check options. The structure is documented below.
- Timeout int
- Timeout for the managed instance to return a response for the health check in seconds.
- Unhealthy
Threshold int - The number of failed health checks before the managed instance is declared unhealthy.
- healthy
Threshold Integer - The number of successful health checks before the managed instance is declared healthy.
- http
Options List<GetCompute Instance Group Health Check Http Option> - HTTP check options. The structure is documented below.
- interval Integer
- The interval between health checks in seconds.
- tcp
Options List<GetCompute Instance Group Health Check Tcp Option> - TCP check options. The structure is documented below.
- timeout Integer
- Timeout for the managed instance to return a response for the health check in seconds.
- unhealthy
Threshold Integer - The number of failed health checks before the managed instance is declared unhealthy.
- healthy
Threshold number - The number of successful health checks before the managed instance is declared healthy.
- http
Options GetCompute Instance Group Health Check Http Option[] - HTTP check options. The structure is documented below.
- interval number
- The interval between health checks in seconds.
- tcp
Options GetCompute Instance Group Health Check Tcp Option[] - TCP check options. The structure is documented below.
- timeout number
- Timeout for the managed instance to return a response for the health check in seconds.
- unhealthy
Threshold number - The number of failed health checks before the managed instance is declared unhealthy.
- healthy_
threshold int - The number of successful health checks before the managed instance is declared healthy.
- http_
options Sequence[GetCompute Instance Group Health Check Http Option] - HTTP check options. The structure is documented below.
- interval int
- The interval between health checks in seconds.
- tcp_
options Sequence[GetCompute Instance Group Health Check Tcp Option] - TCP check options. The structure is documented below.
- timeout int
- Timeout for the managed instance to return a response for the health check in seconds.
- unhealthy_
threshold int - The number of failed health checks before the managed instance is declared unhealthy.
- healthy
Threshold Number - The number of successful health checks before the managed instance is declared healthy.
- http
Options List<Property Map> - HTTP check options. The structure is documented below.
- interval Number
- The interval between health checks in seconds.
- tcp
Options List<Property Map> - TCP check options. The structure is documented below.
- timeout Number
- Timeout for the managed instance to return a response for the health check in seconds.
- unhealthy
Threshold Number - The number of failed health checks before the managed instance is declared unhealthy.
GetComputeInstanceGroupHealthCheckHttpOption
GetComputeInstanceGroupHealthCheckTcpOption
- Port int
- The port to use for TCP health checks.
- Port int
- The port to use for TCP health checks.
- port Integer
- The port to use for TCP health checks.
- port number
- The port to use for TCP health checks.
- port int
- The port to use for TCP health checks.
- port Number
- The port to use for TCP health checks.
GetComputeInstanceGroupInstance
- Fqdn string
- The Fully Qualified Domain Name.
- Instance
Id string - The ID of the instance.
- Name string
- The name of the managed instance.
- Network
Interfaces List<GetCompute Instance Group Instance Network Interface> - An array with the network interfaces attached to the managed instance. The structure is documented below.
status_changed_at
-The timestamp when the status of the managed instance was last changed.
- Status string
- The status of the instance.
- Status
Changed stringAt - Status
Message string - The status message of the target group.
- Zone
Id string - The ID of the availability zone where the instance resides.
- Fqdn string
- The Fully Qualified Domain Name.
- Instance
Id string - The ID of the instance.
- Name string
- The name of the managed instance.
- Network
Interfaces []GetCompute Instance Group Instance Network Interface - An array with the network interfaces attached to the managed instance. The structure is documented below.
status_changed_at
-The timestamp when the status of the managed instance was last changed.
- Status string
- The status of the instance.
- Status
Changed stringAt - Status
Message string - The status message of the target group.
- Zone
Id string - The ID of the availability zone where the instance resides.
- fqdn String
- The Fully Qualified Domain Name.
- instance
Id String - The ID of the instance.
- name String
- The name of the managed instance.
- network
Interfaces List<GetCompute Instance Group Instance Network Interface> - An array with the network interfaces attached to the managed instance. The structure is documented below.
status_changed_at
-The timestamp when the status of the managed instance was last changed.
- status String
- The status of the instance.
- status
Changed StringAt - status
Message String - The status message of the target group.
- zone
Id String - The ID of the availability zone where the instance resides.
- fqdn string
- The Fully Qualified Domain Name.
- instance
Id string - The ID of the instance.
- name string
- The name of the managed instance.
- network
Interfaces GetCompute Instance Group Instance Network Interface[] - An array with the network interfaces attached to the managed instance. The structure is documented below.
status_changed_at
-The timestamp when the status of the managed instance was last changed.
- status string
- The status of the instance.
- status
Changed stringAt - status
Message string - The status message of the target group.
- zone
Id string - The ID of the availability zone where the instance resides.
- fqdn str
- The Fully Qualified Domain Name.
- instance_
id str - The ID of the instance.
- name str
- The name of the managed instance.
- network_
interfaces Sequence[GetCompute Instance Group Instance Network Interface] - An array with the network interfaces attached to the managed instance. The structure is documented below.
status_changed_at
-The timestamp when the status of the managed instance was last changed.
- status str
- The status of the instance.
- status_
changed_ strat - status_
message str - The status message of the target group.
- zone_
id str - The ID of the availability zone where the instance resides.
- fqdn String
- The Fully Qualified Domain Name.
- instance
Id String - The ID of the instance.
- name String
- The name of the managed instance.
- network
Interfaces List<Property Map> - An array with the network interfaces attached to the managed instance. The structure is documented below.
status_changed_at
-The timestamp when the status of the managed instance was last changed.
- status String
- The status of the instance.
- status
Changed StringAt - status
Message String - The status message of the target group.
- zone
Id String - The ID of the availability zone where the instance resides.
GetComputeInstanceGroupInstanceNetworkInterface
- Index int
- The index of the network interface as generated by the server.
- Ip
Address string - The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
- Ipv4 bool
- Is IPv4 address assigned.
- Ipv6 bool
- Ipv6Address string
- Manual set static IPv6 address.
- Mac
Address string - The MAC address assigned to the network interface.
- Nat bool
- The instance's public address for accessing the internet over NAT.
- Nat
Ip stringAddress - The public IP address of the instance.
- Nat
Ip stringVersion - The IP version for the public address.
- Subnet
Id string - The ID of the subnet to attach this interface to. The subnet must reside in the same zone where this instance was created.
- Index int
- The index of the network interface as generated by the server.
- Ip
Address string - The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
- Ipv4 bool
- Is IPv4 address assigned.
- Ipv6 bool
- Ipv6Address string
- Manual set static IPv6 address.
- Mac
Address string - The MAC address assigned to the network interface.
- Nat bool
- The instance's public address for accessing the internet over NAT.
- Nat
Ip stringAddress - The public IP address of the instance.
- Nat
Ip stringVersion - The IP version for the public address.
- Subnet
Id string - The ID of the subnet to attach this interface to. The subnet must reside in the same zone where this instance was created.
- index Integer
- The index of the network interface as generated by the server.
- ip
Address String - The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
- ipv4 Boolean
- Is IPv4 address assigned.
- ipv6 Boolean
- ipv6Address String
- Manual set static IPv6 address.
- mac
Address String - The MAC address assigned to the network interface.
- nat Boolean
- The instance's public address for accessing the internet over NAT.
- nat
Ip StringAddress - The public IP address of the instance.
- nat
Ip StringVersion - The IP version for the public address.
- subnet
Id String - The ID of the subnet to attach this interface to. The subnet must reside in the same zone where this instance was created.
- index number
- The index of the network interface as generated by the server.
- ip
Address string - The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
- ipv4 boolean
- Is IPv4 address assigned.
- ipv6 boolean
- ipv6Address string
- Manual set static IPv6 address.
- mac
Address string - The MAC address assigned to the network interface.
- nat boolean
- The instance's public address for accessing the internet over NAT.
- nat
Ip stringAddress - The public IP address of the instance.
- nat
Ip stringVersion - The IP version for the public address.
- subnet
Id string - The ID of the subnet to attach this interface to. The subnet must reside in the same zone where this instance was created.
- index int
- The index of the network interface as generated by the server.
- ip_
address str - The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
- ipv4 bool
- Is IPv4 address assigned.
- ipv6 bool
- ipv6_
address str - Manual set static IPv6 address.
- mac_
address str - The MAC address assigned to the network interface.
- nat bool
- The instance's public address for accessing the internet over NAT.
- nat_
ip_ straddress - The public IP address of the instance.
- nat_
ip_ strversion - The IP version for the public address.
- subnet_
id str - The ID of the subnet to attach this interface to. The subnet must reside in the same zone where this instance was created.
- index Number
- The index of the network interface as generated by the server.
- ip
Address String - The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
- ipv4 Boolean
- Is IPv4 address assigned.
- ipv6 Boolean
- ipv6Address String
- Manual set static IPv6 address.
- mac
Address String - The MAC address assigned to the network interface.
- nat Boolean
- The instance's public address for accessing the internet over NAT.
- nat
Ip StringAddress - The public IP address of the instance.
- nat
Ip StringVersion - The IP version for the public address.
- subnet
Id String - The ID of the subnet to attach this interface to. The subnet must reside in the same zone where this instance was created.
GetComputeInstanceGroupInstanceTemplate
- Boot
Disks List<GetCompute Instance Group Instance Template Boot Disk> - The specifications for boot disk that will be attached to the instance. The structure is documented below.
- Description string
- A description of the boot disk.
- Hostname string
- Hostname temaplate for the instance.
- Labels Dictionary<string, string>
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- Metadata Dictionary<string, string>
- The set of metadata
key:value
pairs assigned to this instance template. This includes custom metadata and predefined keys. - Name string
- The name of the managed instance.
- Network
Interfaces List<GetCompute Instance Group Instance Template Network Interface> - An array with the network interfaces attached to the managed instance. The structure is documented below.
status_changed_at
-The timestamp when the status of the managed instance was last changed.
- Network
Settings List<GetCompute Instance Group Instance Template Network Setting> - Network acceleration settings. The structure is documented below.
- Platform
Id string - The ID of the hardware platform configuration for the instance.
- Resources
List<Get
Compute Instance Group Instance Template Resource> - Scheduling
Policies List<GetCompute Instance Group Instance Template Scheduling Policy> - The scheduling policy for the instance. The structure is documented below.
- Secondary
Disks List<GetCompute Instance Group Instance Template Secondary Disk> - An array with the secondary disks that will be attached to the instance. The structure is documented below.
- Service
Account stringId - The service account ID for the instance.
- Placement
Policy GetCompute Instance Group Instance Template Placement Policy
- Boot
Disks []GetCompute Instance Group Instance Template Boot Disk - The specifications for boot disk that will be attached to the instance. The structure is documented below.
- Description string
- A description of the boot disk.
- Hostname string
- Hostname temaplate for the instance.
- Labels map[string]string
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- Metadata map[string]string
- The set of metadata
key:value
pairs assigned to this instance template. This includes custom metadata and predefined keys. - Name string
- The name of the managed instance.
- Network
Interfaces []GetCompute Instance Group Instance Template Network Interface - An array with the network interfaces attached to the managed instance. The structure is documented below.
status_changed_at
-The timestamp when the status of the managed instance was last changed.
- Network
Settings []GetCompute Instance Group Instance Template Network Setting - Network acceleration settings. The structure is documented below.
- Platform
Id string - The ID of the hardware platform configuration for the instance.
- Resources
[]Get
Compute Instance Group Instance Template Resource - Scheduling
Policies []GetCompute Instance Group Instance Template Scheduling Policy - The scheduling policy for the instance. The structure is documented below.
- Secondary
Disks []GetCompute Instance Group Instance Template Secondary Disk - An array with the secondary disks that will be attached to the instance. The structure is documented below.
- Service
Account stringId - The service account ID for the instance.
- Placement
Policy GetCompute Instance Group Instance Template Placement Policy
- boot
Disks List<GetCompute Instance Group Instance Template Boot Disk> - The specifications for boot disk that will be attached to the instance. The structure is documented below.
- description String
- A description of the boot disk.
- hostname String
- Hostname temaplate for the instance.
- labels Map<String,String>
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- metadata Map<String,String>
- The set of metadata
key:value
pairs assigned to this instance template. This includes custom metadata and predefined keys. - name String
- The name of the managed instance.
- network
Interfaces List<GetCompute Instance Group Instance Template Network Interface> - An array with the network interfaces attached to the managed instance. The structure is documented below.
status_changed_at
-The timestamp when the status of the managed instance was last changed.
- network
Settings List<GetCompute Instance Group Instance Template Network Setting> - Network acceleration settings. The structure is documented below.
- platform
Id String - The ID of the hardware platform configuration for the instance.
- resources
List<Get
Compute Instance Group Instance Template Resource> - scheduling
Policies List<GetCompute Instance Group Instance Template Scheduling Policy> - The scheduling policy for the instance. The structure is documented below.
- secondary
Disks List<GetCompute Instance Group Instance Template Secondary Disk> - An array with the secondary disks that will be attached to the instance. The structure is documented below.
- service
Account StringId - The service account ID for the instance.
- placement
Policy GetCompute Instance Group Instance Template Placement Policy
- boot
Disks GetCompute Instance Group Instance Template Boot Disk[] - The specifications for boot disk that will be attached to the instance. The structure is documented below.
- description string
- A description of the boot disk.
- hostname string
- Hostname temaplate for the instance.
- labels {[key: string]: string}
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- metadata {[key: string]: string}
- The set of metadata
key:value
pairs assigned to this instance template. This includes custom metadata and predefined keys. - name string
- The name of the managed instance.
- network
Interfaces GetCompute Instance Group Instance Template Network Interface[] - An array with the network interfaces attached to the managed instance. The structure is documented below.
status_changed_at
-The timestamp when the status of the managed instance was last changed.
- network
Settings GetCompute Instance Group Instance Template Network Setting[] - Network acceleration settings. The structure is documented below.
- platform
Id string - The ID of the hardware platform configuration for the instance.
- resources
Get
Compute Instance Group Instance Template Resource[] - scheduling
Policies GetCompute Instance Group Instance Template Scheduling Policy[] - The scheduling policy for the instance. The structure is documented below.
- secondary
Disks GetCompute Instance Group Instance Template Secondary Disk[] - An array with the secondary disks that will be attached to the instance. The structure is documented below.
- service
Account stringId - The service account ID for the instance.
- placement
Policy GetCompute Instance Group Instance Template Placement Policy
- boot_
disks Sequence[GetCompute Instance Group Instance Template Boot Disk] - The specifications for boot disk that will be attached to the instance. The structure is documented below.
- description str
- A description of the boot disk.
- hostname str
- Hostname temaplate for the instance.
- labels Mapping[str, str]
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- metadata Mapping[str, str]
- The set of metadata
key:value
pairs assigned to this instance template. This includes custom metadata and predefined keys. - name str
- The name of the managed instance.
- network_
interfaces Sequence[GetCompute Instance Group Instance Template Network Interface] - An array with the network interfaces attached to the managed instance. The structure is documented below.
status_changed_at
-The timestamp when the status of the managed instance was last changed.
- network_
settings Sequence[GetCompute Instance Group Instance Template Network Setting] - Network acceleration settings. The structure is documented below.
- platform_
id str - The ID of the hardware platform configuration for the instance.
- resources
Sequence[Get
Compute Instance Group Instance Template Resource] - scheduling_
policies Sequence[GetCompute Instance Group Instance Template Scheduling Policy] - The scheduling policy for the instance. The structure is documented below.
- secondary_
disks Sequence[GetCompute Instance Group Instance Template Secondary Disk] - An array with the secondary disks that will be attached to the instance. The structure is documented below.
- service_
account_ strid - The service account ID for the instance.
- placement_
policy GetCompute Instance Group Instance Template Placement Policy
- boot
Disks List<Property Map> - The specifications for boot disk that will be attached to the instance. The structure is documented below.
- description String
- A description of the boot disk.
- hostname String
- Hostname temaplate for the instance.
- labels Map<String>
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- metadata Map<String>
- The set of metadata
key:value
pairs assigned to this instance template. This includes custom metadata and predefined keys. - name String
- The name of the managed instance.
- network
Interfaces List<Property Map> - An array with the network interfaces attached to the managed instance. The structure is documented below.
status_changed_at
-The timestamp when the status of the managed instance was last changed.
- network
Settings List<Property Map> - Network acceleration settings. The structure is documented below.
- platform
Id String - The ID of the hardware platform configuration for the instance.
- resources List<Property Map>
- scheduling
Policies List<Property Map> - The scheduling policy for the instance. The structure is documented below.
- secondary
Disks List<Property Map> - An array with the secondary disks that will be attached to the instance. The structure is documented below.
- service
Account StringId - The service account ID for the instance.
- placement
Policy Property Map
GetComputeInstanceGroupInstanceTemplateBootDisk
- Device
Name string - This value can be used to reference the device under
/dev/disk/by-id/
. - Disk
Id string - ID of the existing disk. To set use variables.
- Initialize
Params List<GetCompute Instance Group Instance Template Boot Disk Initialize Param> - The parameters used for creating a disk alongside the instance. The structure is documented below.
- Mode string
- The access mode to the disk resource. By default a disk is attached in
READ_WRITE
mode.
- Device
Name string - This value can be used to reference the device under
/dev/disk/by-id/
. - Disk
Id string - ID of the existing disk. To set use variables.
- Initialize
Params []GetCompute Instance Group Instance Template Boot Disk Initialize Param - The parameters used for creating a disk alongside the instance. The structure is documented below.
- Mode string
- The access mode to the disk resource. By default a disk is attached in
READ_WRITE
mode.
- device
Name String - This value can be used to reference the device under
/dev/disk/by-id/
. - disk
Id String - ID of the existing disk. To set use variables.
- initialize
Params List<GetCompute Instance Group Instance Template Boot Disk Initialize Param> - The parameters used for creating a disk alongside the instance. The structure is documented below.
- mode String
- The access mode to the disk resource. By default a disk is attached in
READ_WRITE
mode.
- device
Name string - This value can be used to reference the device under
/dev/disk/by-id/
. - disk
Id string - ID of the existing disk. To set use variables.
- initialize
Params GetCompute Instance Group Instance Template Boot Disk Initialize Param[] - The parameters used for creating a disk alongside the instance. The structure is documented below.
- mode string
- The access mode to the disk resource. By default a disk is attached in
READ_WRITE
mode.
- device_
name str - This value can be used to reference the device under
/dev/disk/by-id/
. - disk_
id str - ID of the existing disk. To set use variables.
- initialize_
params Sequence[GetCompute Instance Group Instance Template Boot Disk Initialize Param] - The parameters used for creating a disk alongside the instance. The structure is documented below.
- mode str
- The access mode to the disk resource. By default a disk is attached in
READ_WRITE
mode.
- device
Name String - This value can be used to reference the device under
/dev/disk/by-id/
. - disk
Id String - ID of the existing disk. To set use variables.
- initialize
Params List<Property Map> - The parameters used for creating a disk alongside the instance. The structure is documented below.
- mode String
- The access mode to the disk resource. By default a disk is attached in
READ_WRITE
mode.
GetComputeInstanceGroupInstanceTemplateBootDiskInitializeParam
- Description string
- A description of the boot disk.
- Image
Id string - The disk image to initialize this disk from.
- Size int
- The size of the disk in GB.
- Snapshot
Id string - The snapshot to initialize this disk from.
- Type string
- Network acceleration type. By default a network is in
STANDARD
mode.
- Description string
- A description of the boot disk.
- Image
Id string - The disk image to initialize this disk from.
- Size int
- The size of the disk in GB.
- Snapshot
Id string - The snapshot to initialize this disk from.
- Type string
- Network acceleration type. By default a network is in
STANDARD
mode.
- description String
- A description of the boot disk.
- image
Id String - The disk image to initialize this disk from.
- size Integer
- The size of the disk in GB.
- snapshot
Id String - The snapshot to initialize this disk from.
- type String
- Network acceleration type. By default a network is in
STANDARD
mode.
- description string
- A description of the boot disk.
- image
Id string - The disk image to initialize this disk from.
- size number
- The size of the disk in GB.
- snapshot
Id string - The snapshot to initialize this disk from.
- type string
- Network acceleration type. By default a network is in
STANDARD
mode.
- description str
- A description of the boot disk.
- image_
id str - The disk image to initialize this disk from.
- size int
- The size of the disk in GB.
- snapshot_
id str - The snapshot to initialize this disk from.
- type str
- Network acceleration type. By default a network is in
STANDARD
mode.
- description String
- A description of the boot disk.
- image
Id String - The disk image to initialize this disk from.
- size Number
- The size of the disk in GB.
- snapshot
Id String - The snapshot to initialize this disk from.
- type String
- Network acceleration type. By default a network is in
STANDARD
mode.
GetComputeInstanceGroupInstanceTemplateNetworkInterface
- Dns
Records List<GetCompute Instance Group Instance Template Network Interface Dns Record> - List of dns records. The structure is documented below.
- Ip
Address string - The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
- Ipv4 bool
- Is IPv4 address assigned.
- Ipv6 bool
- Ipv6Address string
- Manual set static IPv6 address.
- Ipv6Dns
Records List<GetCompute Instance Group Instance Template Network Interface Ipv6Dns Record> - List of ipv6 dns records. The structure is documented below.
- Nat bool
- The instance's public address for accessing the internet over NAT.
- Nat
Dns List<GetRecords Compute Instance Group Instance Template Network Interface Nat Dns Record> - List of nat dns records. The structure is documented below.
- Nat
Ip stringAddress - The public IP address of the instance.
- Network
Id string - The ID of the network.
- Security
Group List<string>Ids - Security group ids for network interface.
- Subnet
Ids List<string> - The IDs of the subnets.
- Dns
Records []GetCompute Instance Group Instance Template Network Interface Dns Record - List of dns records. The structure is documented below.
- Ip
Address string - The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
- Ipv4 bool
- Is IPv4 address assigned.
- Ipv6 bool
- Ipv6Address string
- Manual set static IPv6 address.
- Ipv6Dns
Records []GetCompute Instance Group Instance Template Network Interface Ipv6Dns Record - List of ipv6 dns records. The structure is documented below.
- Nat bool
- The instance's public address for accessing the internet over NAT.
- Nat
Dns []GetRecords Compute Instance Group Instance Template Network Interface Nat Dns Record - List of nat dns records. The structure is documented below.
- Nat
Ip stringAddress - The public IP address of the instance.
- Network
Id string - The ID of the network.
- Security
Group []stringIds - Security group ids for network interface.
- Subnet
Ids []string - The IDs of the subnets.
- dns
Records List<GetCompute Instance Group Instance Template Network Interface Dns Record> - List of dns records. The structure is documented below.
- ip
Address String - The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
- ipv4 Boolean
- Is IPv4 address assigned.
- ipv6 Boolean
- ipv6Address String
- Manual set static IPv6 address.
- ipv6Dns
Records List<GetCompute Instance Group Instance Template Network Interface Ipv6Dns Record> - List of ipv6 dns records. The structure is documented below.
- nat Boolean
- The instance's public address for accessing the internet over NAT.
- nat
Dns List<GetRecords Compute Instance Group Instance Template Network Interface Nat Dns Record> - List of nat dns records. The structure is documented below.
- nat
Ip StringAddress - The public IP address of the instance.
- network
Id String - The ID of the network.
- security
Group List<String>Ids - Security group ids for network interface.
- subnet
Ids List<String> - The IDs of the subnets.
- dns
Records GetCompute Instance Group Instance Template Network Interface Dns Record[] - List of dns records. The structure is documented below.
- ip
Address string - The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
- ipv4 boolean
- Is IPv4 address assigned.
- ipv6 boolean
- ipv6Address string
- Manual set static IPv6 address.
- ipv6Dns
Records GetCompute Instance Group Instance Template Network Interface Ipv6Dns Record[] - List of ipv6 dns records. The structure is documented below.
- nat boolean
- The instance's public address for accessing the internet over NAT.
- nat
Dns GetRecords Compute Instance Group Instance Template Network Interface Nat Dns Record[] - List of nat dns records. The structure is documented below.
- nat
Ip stringAddress - The public IP address of the instance.
- network
Id string - The ID of the network.
- security
Group string[]Ids - Security group ids for network interface.
- subnet
Ids string[] - The IDs of the subnets.
- dns_
records Sequence[GetCompute Instance Group Instance Template Network Interface Dns Record] - List of dns records. The structure is documented below.
- ip_
address str - The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
- ipv4 bool
- Is IPv4 address assigned.
- ipv6 bool
- ipv6_
address str - Manual set static IPv6 address.
- ipv6_
dns_ Sequence[Getrecords Compute Instance Group Instance Template Network Interface Ipv6Dns Record] - List of ipv6 dns records. The structure is documented below.
- nat bool
- The instance's public address for accessing the internet over NAT.
- nat_
dns_ Sequence[Getrecords Compute Instance Group Instance Template Network Interface Nat Dns Record] - List of nat dns records. The structure is documented below.
- nat_
ip_ straddress - The public IP address of the instance.
- network_
id str - The ID of the network.
- security_
group_ Sequence[str]ids - Security group ids for network interface.
- subnet_
ids Sequence[str] - The IDs of the subnets.
- dns
Records List<Property Map> - List of dns records. The structure is documented below.
- ip
Address String - The private IP address to assign to the instance. If empty, the address is automatically assigned from the specified subnet.
- ipv4 Boolean
- Is IPv4 address assigned.
- ipv6 Boolean
- ipv6Address String
- Manual set static IPv6 address.
- ipv6Dns
Records List<Property Map> - List of ipv6 dns records. The structure is documented below.
- nat Boolean
- The instance's public address for accessing the internet over NAT.
- nat
Dns List<Property Map>Records - List of nat dns records. The structure is documented below.
- nat
Ip StringAddress - The public IP address of the instance.
- network
Id String - The ID of the network.
- security
Group List<String>Ids - Security group ids for network interface.
- subnet
Ids List<String> - The IDs of the subnets.
GetComputeInstanceGroupInstanceTemplateNetworkInterfaceDnsRecord
- dns_
zone_ strid - DNS zone id (if not set, private zone is used).
- fqdn str
- The Fully Qualified Domain Name.
- ptr bool
- When set to true, also create PTR DNS record.
- ttl int
- DNS record TTL.
GetComputeInstanceGroupInstanceTemplateNetworkInterfaceIpv6DnsRecord
- dns_
zone_ strid - DNS zone id (if not set, private zone is used).
- fqdn str
- The Fully Qualified Domain Name.
- ptr bool
- When set to true, also create PTR DNS record.
- ttl int
- DNS record TTL.
GetComputeInstanceGroupInstanceTemplateNetworkInterfaceNatDnsRecord
- dns_
zone_ strid - DNS zone id (if not set, private zone is used).
- fqdn str
- The Fully Qualified Domain Name.
- ptr bool
- When set to true, also create PTR DNS record.
- ttl int
- DNS record TTL.
GetComputeInstanceGroupInstanceTemplateNetworkSetting
- Type string
- Network acceleration type. By default a network is in
STANDARD
mode.
- Type string
- Network acceleration type. By default a network is in
STANDARD
mode.
- type String
- Network acceleration type. By default a network is in
STANDARD
mode.
- type string
- Network acceleration type. By default a network is in
STANDARD
mode.
- type str
- Network acceleration type. By default a network is in
STANDARD
mode.
- type String
- Network acceleration type. By default a network is in
STANDARD
mode.
GetComputeInstanceGroupInstanceTemplatePlacementPolicy
- Placement
Group stringId
- Placement
Group stringId
- placement
Group StringId
- placement
Group stringId
- placement
Group StringId
GetComputeInstanceGroupInstanceTemplateResource
- Core
Fraction int - Cores int
- Gpus int
- Memory double
- Core
Fraction int - Cores int
- Gpus int
- Memory float64
- core
Fraction Integer - cores Integer
- gpus Integer
- memory Double
- core
Fraction number - cores number
- gpus number
- memory number
- core_
fraction int - cores int
- gpus int
- memory float
- core
Fraction Number - cores Number
- gpus Number
- memory Number
GetComputeInstanceGroupInstanceTemplateSchedulingPolicy
- Preemptible bool
- Specifies if the instance is preemptible. Defaults to false.
- Preemptible bool
- Specifies if the instance is preemptible. Defaults to false.
- preemptible Boolean
- Specifies if the instance is preemptible. Defaults to false.
- preemptible boolean
- Specifies if the instance is preemptible. Defaults to false.
- preemptible bool
- Specifies if the instance is preemptible. Defaults to false.
- preemptible Boolean
- Specifies if the instance is preemptible. Defaults to false.
GetComputeInstanceGroupInstanceTemplateSecondaryDisk
- Device
Name string - This value can be used to reference the device under
/dev/disk/by-id/
. - Disk
Id string - ID of the existing disk. To set use variables.
- Initialize
Params List<GetCompute Instance Group Instance Template Secondary Disk Initialize Param> - The parameters used for creating a disk alongside the instance. The structure is documented below.
- Mode string
- The access mode to the disk resource. By default a disk is attached in
READ_WRITE
mode.
- Device
Name string - This value can be used to reference the device under
/dev/disk/by-id/
. - Disk
Id string - ID of the existing disk. To set use variables.
- Initialize
Params []GetCompute Instance Group Instance Template Secondary Disk Initialize Param - The parameters used for creating a disk alongside the instance. The structure is documented below.
- Mode string
- The access mode to the disk resource. By default a disk is attached in
READ_WRITE
mode.
- device
Name String - This value can be used to reference the device under
/dev/disk/by-id/
. - disk
Id String - ID of the existing disk. To set use variables.
- initialize
Params List<GetCompute Instance Group Instance Template Secondary Disk Initialize Param> - The parameters used for creating a disk alongside the instance. The structure is documented below.
- mode String
- The access mode to the disk resource. By default a disk is attached in
READ_WRITE
mode.
- device
Name string - This value can be used to reference the device under
/dev/disk/by-id/
. - disk
Id string - ID of the existing disk. To set use variables.
- initialize
Params GetCompute Instance Group Instance Template Secondary Disk Initialize Param[] - The parameters used for creating a disk alongside the instance. The structure is documented below.
- mode string
- The access mode to the disk resource. By default a disk is attached in
READ_WRITE
mode.
- device_
name str - This value can be used to reference the device under
/dev/disk/by-id/
. - disk_
id str - ID of the existing disk. To set use variables.
- initialize_
params Sequence[GetCompute Instance Group Instance Template Secondary Disk Initialize Param] - The parameters used for creating a disk alongside the instance. The structure is documented below.
- mode str
- The access mode to the disk resource. By default a disk is attached in
READ_WRITE
mode.
- device
Name String - This value can be used to reference the device under
/dev/disk/by-id/
. - disk
Id String - ID of the existing disk. To set use variables.
- initialize
Params List<Property Map> - The parameters used for creating a disk alongside the instance. The structure is documented below.
- mode String
- The access mode to the disk resource. By default a disk is attached in
READ_WRITE
mode.
GetComputeInstanceGroupInstanceTemplateSecondaryDiskInitializeParam
- Description string
- A description of the boot disk.
- Image
Id string - The disk image to initialize this disk from.
- Size int
- The size of the disk in GB.
- Snapshot
Id string - The snapshot to initialize this disk from.
- Type string
- Network acceleration type. By default a network is in
STANDARD
mode.
- Description string
- A description of the boot disk.
- Image
Id string - The disk image to initialize this disk from.
- Size int
- The size of the disk in GB.
- Snapshot
Id string - The snapshot to initialize this disk from.
- Type string
- Network acceleration type. By default a network is in
STANDARD
mode.
- description String
- A description of the boot disk.
- image
Id String - The disk image to initialize this disk from.
- size Integer
- The size of the disk in GB.
- snapshot
Id String - The snapshot to initialize this disk from.
- type String
- Network acceleration type. By default a network is in
STANDARD
mode.
- description string
- A description of the boot disk.
- image
Id string - The disk image to initialize this disk from.
- size number
- The size of the disk in GB.
- snapshot
Id string - The snapshot to initialize this disk from.
- type string
- Network acceleration type. By default a network is in
STANDARD
mode.
- description str
- A description of the boot disk.
- image_
id str - The disk image to initialize this disk from.
- size int
- The size of the disk in GB.
- snapshot_
id str - The snapshot to initialize this disk from.
- type str
- Network acceleration type. By default a network is in
STANDARD
mode.
- description String
- A description of the boot disk.
- image
Id String - The disk image to initialize this disk from.
- size Number
- The size of the disk in GB.
- snapshot
Id String - The snapshot to initialize this disk from.
- type String
- Network acceleration type. By default a network is in
STANDARD
mode.
GetComputeInstanceGroupLoadBalancer
- Max
Opening intTraffic Duration - Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- Status
Message string - The status message of the target group.
- Target
Group stringDescription - A description of the target group.
- Target
Group stringId - The ID of the target group.
- Target
Group Dictionary<string, string>Labels - A set of key/value label pairs.
- Target
Group stringName - The name of the target group.
- Max
Opening intTraffic Duration - Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- Status
Message string - The status message of the target group.
- Target
Group stringDescription - A description of the target group.
- Target
Group stringId - The ID of the target group.
- Target
Group map[string]stringLabels - A set of key/value label pairs.
- Target
Group stringName - The name of the target group.
- max
Opening IntegerTraffic Duration - Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- status
Message String - The status message of the target group.
- target
Group StringDescription - A description of the target group.
- target
Group StringId - The ID of the target group.
- target
Group Map<String,String>Labels - A set of key/value label pairs.
- target
Group StringName - The name of the target group.
- max
Opening numberTraffic Duration - Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- status
Message string - The status message of the target group.
- target
Group stringDescription - A description of the target group.
- target
Group stringId - The ID of the target group.
- target
Group {[key: string]: string}Labels - A set of key/value label pairs.
- target
Group stringName - The name of the target group.
- max_
opening_ inttraffic_ duration - Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- status_
message str - The status message of the target group.
- target_
group_ strdescription - A description of the target group.
- target_
group_ strid - The ID of the target group.
- target_
group_ Mapping[str, str]labels - A set of key/value label pairs.
- target_
group_ strname - The name of the target group.
- max
Opening NumberTraffic Duration - Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, the VM will be turned off based on the deployment policy. Specified in seconds.
- status
Message String - The status message of the target group.
- target
Group StringDescription - A description of the target group.
- target
Group StringId - The ID of the target group.
- target
Group Map<String>Labels - A set of key/value label pairs.
- target
Group StringName - The name of the target group.
GetComputeInstanceGroupLoadBalancerState
- Status
Message string - The status message of the target group.
- Target
Group stringId - The ID of the target group.
- Status
Message string - The status message of the target group.
- Target
Group stringId - The ID of the target group.
- status
Message String - The status message of the target group.
- target
Group StringId - The ID of the target group.
- status
Message string - The status message of the target group.
- target
Group stringId - The ID of the target group.
- status_
message str - The status message of the target group.
- target_
group_ strid - The ID of the target group.
- status
Message String - The status message of the target group.
- target
Group StringId - The ID of the target group.
GetComputeInstanceGroupScalePolicy
- Auto
Scales List<GetCompute Instance Group Scale Policy Auto Scale> - The auto scaling policy of the instance group. The structure is documented below.
- Fixed
Scales List<GetCompute Instance Group Scale Policy Fixed Scale> - The fixed scaling policy of the instance group. The structure is documented below.
- Test
Auto List<GetScales Compute Instance Group Scale Policy Test Auto Scale> - The test auto scaling policy of the instance group. Use it to test how the auto scale works. The structure is documented below.
- Auto
Scales []GetCompute Instance Group Scale Policy Auto Scale - The auto scaling policy of the instance group. The structure is documented below.
- Fixed
Scales []GetCompute Instance Group Scale Policy Fixed Scale - The fixed scaling policy of the instance group. The structure is documented below.
- Test
Auto []GetScales Compute Instance Group Scale Policy Test Auto Scale - The test auto scaling policy of the instance group. Use it to test how the auto scale works. The structure is documented below.
- auto
Scales List<GetCompute Instance Group Scale Policy Auto Scale> - The auto scaling policy of the instance group. The structure is documented below.
- fixed
Scales List<GetCompute Instance Group Scale Policy Fixed Scale> - The fixed scaling policy of the instance group. The structure is documented below.
- test
Auto List<GetScales Compute Instance Group Scale Policy Test Auto Scale> - The test auto scaling policy of the instance group. Use it to test how the auto scale works. The structure is documented below.
- auto
Scales GetCompute Instance Group Scale Policy Auto Scale[] - The auto scaling policy of the instance group. The structure is documented below.
- fixed
Scales GetCompute Instance Group Scale Policy Fixed Scale[] - The fixed scaling policy of the instance group. The structure is documented below.
- test
Auto GetScales Compute Instance Group Scale Policy Test Auto Scale[] - The test auto scaling policy of the instance group. Use it to test how the auto scale works. The structure is documented below.
- auto_
scales Sequence[GetCompute Instance Group Scale Policy Auto Scale] - The auto scaling policy of the instance group. The structure is documented below.
- fixed_
scales Sequence[GetCompute Instance Group Scale Policy Fixed Scale] - The fixed scaling policy of the instance group. The structure is documented below.
- test_
auto_ Sequence[Getscales Compute Instance Group Scale Policy Test Auto Scale] - The test auto scaling policy of the instance group. Use it to test how the auto scale works. The structure is documented below.
- auto
Scales List<Property Map> - The auto scaling policy of the instance group. The structure is documented below.
- fixed
Scales List<Property Map> - The fixed scaling policy of the instance group. The structure is documented below.
- test
Auto List<Property Map>Scales - The test auto scaling policy of the instance group. Use it to test how the auto scale works. The structure is documented below.
GetComputeInstanceGroupScalePolicyAutoScale
- Cpu
Utilization doubleTarget - Target CPU load level.
- Custom
Rules List<GetCompute Instance Group Scale Policy Auto Scale Custom Rule> - A list of custom rules. The structure is documented below.
- Initial
Size int - The initial number of instances in the instance group.
- Max
Size int - The maximum number of virtual machines in the group.
- Measurement
Duration int - The amount of time, in seconds, that metrics are averaged for.
If the average value at the end of the interval is higher than the
cpu_utilization_target
, the instance group will increase the number of virtual machines in the group. - Min
Zone intSize - The minimum number of virtual machines in a single availability zone.
- Stabilization
Duration int - The minimum time interval, in seconds, to monitor the load before
an instance group can reduce the number of virtual machines in the group. During this time, the group
will not decrease even if the average load falls below the value of
cpu_utilization_target
. - Warmup
Duration int - The warm-up time of the virtual machine, in seconds. During this time, traffic is fed to the virtual machine, but load metrics are not taken into account.
- Cpu
Utilization float64Target - Target CPU load level.
- Custom
Rules []GetCompute Instance Group Scale Policy Auto Scale Custom Rule - A list of custom rules. The structure is documented below.
- Initial
Size int - The initial number of instances in the instance group.
- Max
Size int - The maximum number of virtual machines in the group.
- Measurement
Duration int - The amount of time, in seconds, that metrics are averaged for.
If the average value at the end of the interval is higher than the
cpu_utilization_target
, the instance group will increase the number of virtual machines in the group. - Min
Zone intSize - The minimum number of virtual machines in a single availability zone.
- Stabilization
Duration int - The minimum time interval, in seconds, to monitor the load before
an instance group can reduce the number of virtual machines in the group. During this time, the group
will not decrease even if the average load falls below the value of
cpu_utilization_target
. - Warmup
Duration int - The warm-up time of the virtual machine, in seconds. During this time, traffic is fed to the virtual machine, but load metrics are not taken into account.
- cpu
Utilization DoubleTarget - Target CPU load level.
- custom
Rules List<GetCompute Instance Group Scale Policy Auto Scale Custom Rule> - A list of custom rules. The structure is documented below.
- initial
Size Integer - The initial number of instances in the instance group.
- max
Size Integer - The maximum number of virtual machines in the group.
- measurement
Duration Integer - The amount of time, in seconds, that metrics are averaged for.
If the average value at the end of the interval is higher than the
cpu_utilization_target
, the instance group will increase the number of virtual machines in the group. - min
Zone IntegerSize - The minimum number of virtual machines in a single availability zone.
- stabilization
Duration Integer - The minimum time interval, in seconds, to monitor the load before
an instance group can reduce the number of virtual machines in the group. During this time, the group
will not decrease even if the average load falls below the value of
cpu_utilization_target
. - warmup
Duration Integer - The warm-up time of the virtual machine, in seconds. During this time, traffic is fed to the virtual machine, but load metrics are not taken into account.
- cpu
Utilization numberTarget - Target CPU load level.
- custom
Rules GetCompute Instance Group Scale Policy Auto Scale Custom Rule[] - A list of custom rules. The structure is documented below.
- initial
Size number - The initial number of instances in the instance group.
- max
Size number - The maximum number of virtual machines in the group.
- measurement
Duration number - The amount of time, in seconds, that metrics are averaged for.
If the average value at the end of the interval is higher than the
cpu_utilization_target
, the instance group will increase the number of virtual machines in the group. - min
Zone numberSize - The minimum number of virtual machines in a single availability zone.
- stabilization
Duration number - The minimum time interval, in seconds, to monitor the load before
an instance group can reduce the number of virtual machines in the group. During this time, the group
will not decrease even if the average load falls below the value of
cpu_utilization_target
. - warmup
Duration number - The warm-up time of the virtual machine, in seconds. During this time, traffic is fed to the virtual machine, but load metrics are not taken into account.
- cpu_
utilization_ floattarget - Target CPU load level.
- custom_
rules Sequence[GetCompute Instance Group Scale Policy Auto Scale Custom Rule] - A list of custom rules. The structure is documented below.
- initial_
size int - The initial number of instances in the instance group.
- max_
size int - The maximum number of virtual machines in the group.
- measurement_
duration int - The amount of time, in seconds, that metrics are averaged for.
If the average value at the end of the interval is higher than the
cpu_utilization_target
, the instance group will increase the number of virtual machines in the group. - min_
zone_ intsize - The minimum number of virtual machines in a single availability zone.
- stabilization_
duration int - The minimum time interval, in seconds, to monitor the load before
an instance group can reduce the number of virtual machines in the group. During this time, the group
will not decrease even if the average load falls below the value of
cpu_utilization_target
. - warmup_
duration int - The warm-up time of the virtual machine, in seconds. During this time, traffic is fed to the virtual machine, but load metrics are not taken into account.
- cpu
Utilization NumberTarget - Target CPU load level.
- custom
Rules List<Property Map> - A list of custom rules. The structure is documented below.
- initial
Size Number - The initial number of instances in the instance group.
- max
Size Number - The maximum number of virtual machines in the group.
- measurement
Duration Number - The amount of time, in seconds, that metrics are averaged for.
If the average value at the end of the interval is higher than the
cpu_utilization_target
, the instance group will increase the number of virtual machines in the group. - min
Zone NumberSize - The minimum number of virtual machines in a single availability zone.
- stabilization
Duration Number - The minimum time interval, in seconds, to monitor the load before
an instance group can reduce the number of virtual machines in the group. During this time, the group
will not decrease even if the average load falls below the value of
cpu_utilization_target
. - warmup
Duration Number - The warm-up time of the virtual machine, in seconds. During this time, traffic is fed to the virtual machine, but load metrics are not taken into account.
GetComputeInstanceGroupScalePolicyAutoScaleCustomRule
- Folder
Id string - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- Labels Dictionary<string, string>
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- Metric
Name string - The name of metric.
- Metric
Type string - Metric type,
GAUGE
orCOUNTER
. - Rule
Type string - Rule type:
UTILIZATION
- This type means that the metric applies to one instance. First, Instance Groups calculates the average metric value for each instance, then averages the values for instances in one availability zone. This type of metric must have theinstance_id
label.WORKLOAD
- This type means that the metric applies to instances in one availability zone. This type of metric must have thezone_id
label. - Service string
- Service of custom metric in Yandex Monitoring that should be used for scaling.
- Target double
- Target metric value level.
- Folder
Id string - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- Labels map[string]string
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- Metric
Name string - The name of metric.
- Metric
Type string - Metric type,
GAUGE
orCOUNTER
. - Rule
Type string - Rule type:
UTILIZATION
- This type means that the metric applies to one instance. First, Instance Groups calculates the average metric value for each instance, then averages the values for instances in one availability zone. This type of metric must have theinstance_id
label.WORKLOAD
- This type means that the metric applies to instances in one availability zone. This type of metric must have thezone_id
label. - Service string
- Service of custom metric in Yandex Monitoring that should be used for scaling.
- Target float64
- Target metric value level.
- folder
Id String - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- labels Map<String,String>
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- metric
Name String - The name of metric.
- metric
Type String - Metric type,
GAUGE
orCOUNTER
. - rule
Type String - Rule type:
UTILIZATION
- This type means that the metric applies to one instance. First, Instance Groups calculates the average metric value for each instance, then averages the values for instances in one availability zone. This type of metric must have theinstance_id
label.WORKLOAD
- This type means that the metric applies to instances in one availability zone. This type of metric must have thezone_id
label. - service String
- Service of custom metric in Yandex Monitoring that should be used for scaling.
- target Double
- Target metric value level.
- folder
Id string - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- labels {[key: string]: string}
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- metric
Name string - The name of metric.
- metric
Type string - Metric type,
GAUGE
orCOUNTER
. - rule
Type string - Rule type:
UTILIZATION
- This type means that the metric applies to one instance. First, Instance Groups calculates the average metric value for each instance, then averages the values for instances in one availability zone. This type of metric must have theinstance_id
label.WORKLOAD
- This type means that the metric applies to instances in one availability zone. This type of metric must have thezone_id
label. - service string
- Service of custom metric in Yandex Monitoring that should be used for scaling.
- target number
- Target metric value level.
- folder_
id str - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- labels Mapping[str, str]
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- metric_
name str - The name of metric.
- metric_
type str - Metric type,
GAUGE
orCOUNTER
. - rule_
type str - Rule type:
UTILIZATION
- This type means that the metric applies to one instance. First, Instance Groups calculates the average metric value for each instance, then averages the values for instances in one availability zone. This type of metric must have theinstance_id
label.WORKLOAD
- This type means that the metric applies to instances in one availability zone. This type of metric must have thezone_id
label. - service str
- Service of custom metric in Yandex Monitoring that should be used for scaling.
- target float
- Target metric value level.
- folder
Id String - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- labels Map<String>
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- metric
Name String - The name of metric.
- metric
Type String - Metric type,
GAUGE
orCOUNTER
. - rule
Type String - Rule type:
UTILIZATION
- This type means that the metric applies to one instance. First, Instance Groups calculates the average metric value for each instance, then averages the values for instances in one availability zone. This type of metric must have theinstance_id
label.WORKLOAD
- This type means that the metric applies to instances in one availability zone. This type of metric must have thezone_id
label. - service String
- Service of custom metric in Yandex Monitoring that should be used for scaling.
- target Number
- Target metric value level.
GetComputeInstanceGroupScalePolicyFixedScale
- Size int
- The size of the disk in GB.
- Size int
- The size of the disk in GB.
- size Integer
- The size of the disk in GB.
- size number
- The size of the disk in GB.
- size int
- The size of the disk in GB.
- size Number
- The size of the disk in GB.
GetComputeInstanceGroupScalePolicyTestAutoScale
- Cpu
Utilization doubleTarget - Target CPU load level.
- Custom
Rules List<GetCompute Instance Group Scale Policy Test Auto Scale Custom Rule> - A list of custom rules. The structure is documented below.
- Initial
Size int - The initial number of instances in the instance group.
- Max
Size int - The maximum number of virtual machines in the group.
- Measurement
Duration int - The amount of time, in seconds, that metrics are averaged for.
If the average value at the end of the interval is higher than the
cpu_utilization_target
, the instance group will increase the number of virtual machines in the group. - Min
Zone intSize - The minimum number of virtual machines in a single availability zone.
- Stabilization
Duration int - The minimum time interval, in seconds, to monitor the load before
an instance group can reduce the number of virtual machines in the group. During this time, the group
will not decrease even if the average load falls below the value of
cpu_utilization_target
. - Warmup
Duration int - The warm-up time of the virtual machine, in seconds. During this time, traffic is fed to the virtual machine, but load metrics are not taken into account.
- Cpu
Utilization float64Target - Target CPU load level.
- Custom
Rules []GetCompute Instance Group Scale Policy Test Auto Scale Custom Rule - A list of custom rules. The structure is documented below.
- Initial
Size int - The initial number of instances in the instance group.
- Max
Size int - The maximum number of virtual machines in the group.
- Measurement
Duration int - The amount of time, in seconds, that metrics are averaged for.
If the average value at the end of the interval is higher than the
cpu_utilization_target
, the instance group will increase the number of virtual machines in the group. - Min
Zone intSize - The minimum number of virtual machines in a single availability zone.
- Stabilization
Duration int - The minimum time interval, in seconds, to monitor the load before
an instance group can reduce the number of virtual machines in the group. During this time, the group
will not decrease even if the average load falls below the value of
cpu_utilization_target
. - Warmup
Duration int - The warm-up time of the virtual machine, in seconds. During this time, traffic is fed to the virtual machine, but load metrics are not taken into account.
- cpu
Utilization DoubleTarget - Target CPU load level.
- custom
Rules List<GetCompute Instance Group Scale Policy Test Auto Scale Custom Rule> - A list of custom rules. The structure is documented below.
- initial
Size Integer - The initial number of instances in the instance group.
- max
Size Integer - The maximum number of virtual machines in the group.
- measurement
Duration Integer - The amount of time, in seconds, that metrics are averaged for.
If the average value at the end of the interval is higher than the
cpu_utilization_target
, the instance group will increase the number of virtual machines in the group. - min
Zone IntegerSize - The minimum number of virtual machines in a single availability zone.
- stabilization
Duration Integer - The minimum time interval, in seconds, to monitor the load before
an instance group can reduce the number of virtual machines in the group. During this time, the group
will not decrease even if the average load falls below the value of
cpu_utilization_target
. - warmup
Duration Integer - The warm-up time of the virtual machine, in seconds. During this time, traffic is fed to the virtual machine, but load metrics are not taken into account.
- cpu
Utilization numberTarget - Target CPU load level.
- custom
Rules GetCompute Instance Group Scale Policy Test Auto Scale Custom Rule[] - A list of custom rules. The structure is documented below.
- initial
Size number - The initial number of instances in the instance group.
- max
Size number - The maximum number of virtual machines in the group.
- measurement
Duration number - The amount of time, in seconds, that metrics are averaged for.
If the average value at the end of the interval is higher than the
cpu_utilization_target
, the instance group will increase the number of virtual machines in the group. - min
Zone numberSize - The minimum number of virtual machines in a single availability zone.
- stabilization
Duration number - The minimum time interval, in seconds, to monitor the load before
an instance group can reduce the number of virtual machines in the group. During this time, the group
will not decrease even if the average load falls below the value of
cpu_utilization_target
. - warmup
Duration number - The warm-up time of the virtual machine, in seconds. During this time, traffic is fed to the virtual machine, but load metrics are not taken into account.
- cpu_
utilization_ floattarget - Target CPU load level.
- custom_
rules Sequence[GetCompute Instance Group Scale Policy Test Auto Scale Custom Rule] - A list of custom rules. The structure is documented below.
- initial_
size int - The initial number of instances in the instance group.
- max_
size int - The maximum number of virtual machines in the group.
- measurement_
duration int - The amount of time, in seconds, that metrics are averaged for.
If the average value at the end of the interval is higher than the
cpu_utilization_target
, the instance group will increase the number of virtual machines in the group. - min_
zone_ intsize - The minimum number of virtual machines in a single availability zone.
- stabilization_
duration int - The minimum time interval, in seconds, to monitor the load before
an instance group can reduce the number of virtual machines in the group. During this time, the group
will not decrease even if the average load falls below the value of
cpu_utilization_target
. - warmup_
duration int - The warm-up time of the virtual machine, in seconds. During this time, traffic is fed to the virtual machine, but load metrics are not taken into account.
- cpu
Utilization NumberTarget - Target CPU load level.
- custom
Rules List<Property Map> - A list of custom rules. The structure is documented below.
- initial
Size Number - The initial number of instances in the instance group.
- max
Size Number - The maximum number of virtual machines in the group.
- measurement
Duration Number - The amount of time, in seconds, that metrics are averaged for.
If the average value at the end of the interval is higher than the
cpu_utilization_target
, the instance group will increase the number of virtual machines in the group. - min
Zone NumberSize - The minimum number of virtual machines in a single availability zone.
- stabilization
Duration Number - The minimum time interval, in seconds, to monitor the load before
an instance group can reduce the number of virtual machines in the group. During this time, the group
will not decrease even if the average load falls below the value of
cpu_utilization_target
. - warmup
Duration Number - The warm-up time of the virtual machine, in seconds. During this time, traffic is fed to the virtual machine, but load metrics are not taken into account.
GetComputeInstanceGroupScalePolicyTestAutoScaleCustomRule
- Folder
Id string - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- Labels Dictionary<string, string>
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- Metric
Name string - The name of metric.
- Metric
Type string - Metric type,
GAUGE
orCOUNTER
. - Rule
Type string - Rule type:
UTILIZATION
- This type means that the metric applies to one instance. First, Instance Groups calculates the average metric value for each instance, then averages the values for instances in one availability zone. This type of metric must have theinstance_id
label.WORKLOAD
- This type means that the metric applies to instances in one availability zone. This type of metric must have thezone_id
label. - Service string
- Service of custom metric in Yandex Monitoring that should be used for scaling.
- Target double
- Target metric value level.
- Folder
Id string - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- Labels map[string]string
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- Metric
Name string - The name of metric.
- Metric
Type string - Metric type,
GAUGE
orCOUNTER
. - Rule
Type string - Rule type:
UTILIZATION
- This type means that the metric applies to one instance. First, Instance Groups calculates the average metric value for each instance, then averages the values for instances in one availability zone. This type of metric must have theinstance_id
label.WORKLOAD
- This type means that the metric applies to instances in one availability zone. This type of metric must have thezone_id
label. - Service string
- Service of custom metric in Yandex Monitoring that should be used for scaling.
- Target float64
- Target metric value level.
- folder
Id String - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- labels Map<String,String>
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- metric
Name String - The name of metric.
- metric
Type String - Metric type,
GAUGE
orCOUNTER
. - rule
Type String - Rule type:
UTILIZATION
- This type means that the metric applies to one instance. First, Instance Groups calculates the average metric value for each instance, then averages the values for instances in one availability zone. This type of metric must have theinstance_id
label.WORKLOAD
- This type means that the metric applies to instances in one availability zone. This type of metric must have thezone_id
label. - service String
- Service of custom metric in Yandex Monitoring that should be used for scaling.
- target Double
- Target metric value level.
- folder
Id string - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- labels {[key: string]: string}
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- metric
Name string - The name of metric.
- metric
Type string - Metric type,
GAUGE
orCOUNTER
. - rule
Type string - Rule type:
UTILIZATION
- This type means that the metric applies to one instance. First, Instance Groups calculates the average metric value for each instance, then averages the values for instances in one availability zone. This type of metric must have theinstance_id
label.WORKLOAD
- This type means that the metric applies to instances in one availability zone. This type of metric must have thezone_id
label. - service string
- Service of custom metric in Yandex Monitoring that should be used for scaling.
- target number
- Target metric value level.
- folder_
id str - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- labels Mapping[str, str]
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- metric_
name str - The name of metric.
- metric_
type str - Metric type,
GAUGE
orCOUNTER
. - rule_
type str - Rule type:
UTILIZATION
- This type means that the metric applies to one instance. First, Instance Groups calculates the average metric value for each instance, then averages the values for instances in one availability zone. This type of metric must have theinstance_id
label.WORKLOAD
- This type means that the metric applies to instances in one availability zone. This type of metric must have thezone_id
label. - service str
- Service of custom metric in Yandex Monitoring that should be used for scaling.
- target float
- Target metric value level.
- folder
Id String - Folder ID of custom metric in Yandex Monitoring that should be used for scaling.
- labels Map<String>
- A map of labels applied to this instance.
resources.0.memory
- The memory size allocated to the instance.resources.0.cores
- Number of CPU cores allocated to the instance.resources.0.core_fraction
- Baseline core performance as a percent.resources.0.gpus
- Number of GPU cores allocated to the instance.
- metric
Name String - The name of metric.
- metric
Type String - Metric type,
GAUGE
orCOUNTER
. - rule
Type String - Rule type:
UTILIZATION
- This type means that the metric applies to one instance. First, Instance Groups calculates the average metric value for each instance, then averages the values for instances in one availability zone. This type of metric must have theinstance_id
label.WORKLOAD
- This type means that the metric applies to instances in one availability zone. This type of metric must have thezone_id
label. - service String
- Service of custom metric in Yandex Monitoring that should be used for scaling.
- target Number
- Target metric value level.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandex
Terraform Provider.