Get-AzHDInsightProperty
取得 HDInsight 服務的相關屬性,例如可用的位置和容量。
語法
Get-AzHDInsightProperty
[-Location] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzHDInsightProperty Cmdlet 會取得 Azure HDInsight 特有的屬性,例如可用位置清單、HDInsight 叢集版本和可用的計算容量。
範例
範例 1:取得 Azure HDInsight 叢集的屬性
Get-AzHDInsightProperty -Location "East US 2"
此命令會從位置美國東部 2 取得 HDInsight 服務的屬性。
參數
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Location
指定要擷取 HDInsight 屬性的位置。
類型: | String |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
輸入
None
輸出
Microsoft.Azure.Management.HDInsight.Models.AzureHDInsightCapabilities