Stop-AzHDInsightJob
Menghentikan pekerjaan yang berjalan tertentu pada kluster.
Sintaks
Stop-AzHDInsightJob
[-ClusterName] <String>
[-JobId] <String>
[-HttpCredential] <PSCredential>
[-ResourceGroupName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Deskripsi
Cmdlet Stop-AzHDInsightJob menghentikan pekerjaan yang berjalan tertentu pada kluster Azure HDInsight.
Contoh
Contoh 1: Menghentikan pekerjaan pada kluster yang ditentukan
# Cluster info
$clusterName = "your-hadoop-001"
$clusterCreds = Get-Credential
Stop-AzHDInsightJob `
-ClusterName $clusterName `
-ClusterCredential $clusterCreds `
-JobId $jobId
Perintah ini menghentikan pekerjaan pada kluster bernama your-hadoop-001.
Parameter
-ClusterName
Menentukan nama kluster.
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-DefaultProfile
Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan azure
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-HttpCredential
Menentukan kredensial masuk kluster (HTTP) untuk kluster.
| Type: | PSCredential |
| Aliases: | ClusterCredential |
| Position: | 2 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-JobId
Menentukan ID pekerjaan pekerjaan.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
-ResourceGroupName
Menentukan nama grup sumber daya.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Input
Output
Link Terkait
Saran dan Komentar
Kirim dan lihat umpan balik untuk