你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Update-AzStorageMoverAzStorageContainerEndpoint
汇报 Az存储Container 终结点资源的属性。 请求正文中未指定的属性将保持不变。
语法
Update-AzStorageMoverAzStorageContainerEndpoint
-Name <String>
-ResourceGroupName <String>
-StorageMoverName <String>
[-SubscriptionId <String>]
[-Description <String>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzStorageMoverAzStorageContainerEndpoint
-InputObject <IStorageMoverIdentity>
[-Description <String>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
汇报 Az存储Container 终结点资源的属性。 请求正文中未指定的属性将保持不变。
示例
示例 1:更新 Az存储Container 终结点
Update-AzStorageMoverAzStorageContainerEndpoint -Name myEndpoint -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Description "Update Description"
Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.StorageMover/storageMovers/myStorageMover/endpoints/myEndpoint1
Name : containerEndpointo3q8xlbr
Property : {
"endpointType": "AzureStorageBlobContainer",
"description": "Update Description",
"provisioningState": "Succeeded",
"storageAccountResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myStorageMover/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
"blobContainerName": "myContainer"
}
SystemDataCreatedAt : 7/18/2022 7:28:29 AM
SystemDataCreatedBy : xxxxxxxxxx
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 7/18/2022 7:28:29 AM
SystemDataLastModifiedBy : xxxxxxxxxxx
SystemDataLastModifiedByType : User
Type : microsoft.storagemover/storagemovers/endpoints
此命令更新 Az存储ContainerEndpoint 的说明。
参数
-Confirm
提示你在运行 cmdlet 之前进行确认。
类型: | SwitchParameter |
别名: | cf |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
类型: | PSObject |
别名: | AzureRMContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Description
终结点的说明。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-InputObject
要构造的标识参数,请参阅 INPUTOBJECT 属性的 NOTES 部分并创建哈希表。
类型: | IStorageMoverIdentity |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-Name
终结点资源的名称。
类型: | String |
别名: | EndpointName |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ResourceGroupName
资源组的名称。 此名称不区分大小写。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-StorageMoverName
存储 Mover 资源的名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-SubscriptionId
目标订阅的 ID。
类型: | String |
Position: | Named |
默认值: | (Get-AzContext).Subscription.Id |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-WhatIf
显示运行该 cmdlet 时会发生什么情况。 cmdlet 未运行。
类型: | SwitchParameter |
别名: | wi |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |