你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Update-AzOperationalInsightsCluster
更新群集
语法
Update-AzOperationalInsightsCluster
-ResourceGroupName <String>
-ClusterName <String>
[-SkuName <String>]
[-SkuCapacity <Int64>]
[-KeyVaultUri <String>]
[-KeyName <String>]
[-KeyVersion <String>]
[-Tag <Hashtable>]
[-IdentityType <String>]
[-BillingType <String>]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzOperationalInsightsCluster
[-ResourceGroupName <String>]
[-ClusterName <String>]
[-ResourceId <String>]
[-InputCluster <PSCluster>]
[-SkuName <String>]
[-SkuCapacity <Int64>]
[-KeyVaultUri <String>]
[-KeyName <String>]
[-KeyVersion <String>]
[-Tag <Hashtable>]
[-IdentityType <String>]
[-BillingType <String>]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzOperationalInsightsCluster
-ResourceId <String>
[-SkuName <String>]
[-SkuCapacity <Int64>]
[-KeyVaultUri <String>]
[-KeyName <String>]
[-KeyVersion <String>]
[-Tag <Hashtable>]
[-IdentityType <String>]
[-BillingType <String>]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzOperationalInsightsCluster
-InputCluster <PSCluster>
[-SkuName <String>]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
更新群集
示例
示例 1
Update-AzOperationalInsightsCluster -ResourceGroupName "rg-name" -ClusterName "cluster-name" -SkuName CapacityReservation -SkuCapacity 1200 -KeyVaultUri "uri" -KeyName "key-name" -KeyVersion "version"
Identity : Microsoft.Azure.Commands.OperationalInsights.Models.PSIdentity
Sku : Microsoft.Azure.Commands.OperationalInsights.Models.PSClusterSku
ClusterId : {cluster-id}
ProvisioningState : Succeeded
IsDoubleEncryptionEnabled : True
IsAvailabilityZonesEnabled : False
BillingType : Cluster
KeyVaultProperties : Microsoft.Azure.Commands.OperationalInsights.Models.PSKeyVaultProperties
LastModifiedDate :
CreatedDate :
AssociatedWorkspaces : {workspaces}
CapacityReservationProperties : Microsoft.Azure.Management.OperationalInsights.Models.CapacityReservationProperties
Location : South Central US
Id : /subscriptions/{subscription}/resourceGroups/{rg-name}/providers/Microsoft.OperationalInsights/clusters/{cluster-name}
Name : {cluster-name}
Type : Microsoft.OperationalInsights/clusters
Tags : {}
使用密钥保管库属性和 SKU 更新群集
参数
-AsJob
在后台运行 cmdlet
类型: | SwitchParameter |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-BillingType
计费类型可以设置为“群集”或“工作区”
类型: | String |
接受的值: | Cluster, Workspaces |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-ClusterName
群集名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-Confirm
在运行 cmdlet 之前,提示你进行确认。
类型: | SwitchParameter |
别名: | cf |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
类型: | IAzureContextContainer |
别名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-IdentityType
标识类型,值可以是“SystemAssigned”、“None”、“UserAssigned”。
类型: | String |
接受的值: | SystemAssigned, None, UserAssigned |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-InputCluster
指定要更新的群集。
类型: | PSCluster |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-KeyName
密钥名称
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-KeyVaultUri
必须为此 keyvault 启用密钥保管库 URI、“清除保护”和“软删除”
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-KeyVersion
密钥版本
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-ResourceGroupName
资源组名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ResourceId
目标资源 ID。 这可以从 Azure 中目标资源的“属性”条目复制。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-SkuCapacity
Sku 容量
类型: | Nullable<T>[Int64] |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-SkuName
Sku 名称,现在只能为“CapacityReservation”
类型: | String |
接受的值: | CapacityReservation |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Tag
群集的标记
类型: | Hashtable |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-WhatIf
显示 cmdlet 运行时会发生什么情况。 cmdlet 未运行。
类型: | SwitchParameter |
别名: | wi |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |