

Ada lebih banyak contoh AWS SDK yang tersedia di [ GitHub repo Contoh ](https://github.com/awsdocs/aws-doc-sdk-examples)AWS Doc SDK.

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# Gunakan `DescribeScalingProcessTypes`dengan CLI
<a name="auto-scaling_example_auto-scaling_DescribeScalingProcessTypes_section"></a>

Contoh kode berikut menunjukkan cara menggunakan`DescribeScalingProcessTypes`.

------
#### [ CLI ]

**AWS CLI**  
**Untuk menggambarkan jenis proses yang tersedia**  
Contoh ini menjelaskan jenis proses yang tersedia.  

```
aws autoscaling describe-scaling-process-types
```
Output:  

```
{
    "Processes": [
        {
            "ProcessName": "AZRebalance"
        },
        {
            "ProcessName": "AddToLoadBalancer"
        },
        {
            "ProcessName": "AlarmNotification"
        },
        {
            "ProcessName": "HealthCheck"
        },
        {
            "ProcessName": "InstanceRefresh"
        },
        {
            "ProcessName": "Launch"
        },
        {
            "ProcessName": "ReplaceUnhealthy"
        },
        {
            "ProcessName": "ScheduledActions"
        },
        {
            "ProcessName": "Terminate"
        }
    ]
}
```
Untuk informasi selengkapnya, lihat [Menangguhkan dan melanjutkan proses penskalaan di Panduan](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html) Pengguna *Amazon EC2 Auto Scaling*.  
+  Untuk detail API, lihat [DescribeScalingProcessTypes](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/autoscaling/describe-scaling-process-types.html)di *Referensi AWS CLI Perintah*. 

------
#### [ PowerShell ]

**Alat untuk PowerShell V4**  
**Contoh 1: Contoh ini mencantumkan jenis proses yang didukung oleh Auto Scaling.**  

```
Get-ASScalingProcessType
```
**Output:**  

```
ProcessName
-----------
AZRebalance
AddToLoadBalancer
AlarmNotification
HealthCheck
Launch
ReplaceUnhealthy
ScheduledActions
Terminate
```
+  Untuk detail API, lihat [DescribeScalingProcessTypes](https://docs.aws.amazon.com/powershell/v4/reference)di *Referensi Alat AWS untuk PowerShell Cmdlet (V4)*. 

**Alat untuk PowerShell V5**  
**Contoh 1: Contoh ini mencantumkan jenis proses yang didukung oleh Auto Scaling.**  

```
Get-ASScalingProcessType
```
**Output:**  

```
ProcessName
-----------
AZRebalance
AddToLoadBalancer
AlarmNotification
HealthCheck
Launch
ReplaceUnhealthy
ScheduledActions
Terminate
```
+  Untuk detail API, lihat [DescribeScalingProcessTypes](https://docs.aws.amazon.com/powershell/v5/reference)di *Referensi Alat AWS untuk PowerShell Cmdlet (V5)*. 

------