| external help file | Az.Purview-help.xml |
|---|---|
| Module Name | Az.Purview |
| online version | https://learn.microsoft.com/powershell/module/az.purview/update-azpurviewaccount |
| schema | 2.0.0 |
| content_git_url | https://github.com/Azure/azure-powershell/blob/main/src/Purview/Purview/help/Update-AzPurviewAccount.md |
| original_content_git_url | https://github.com/Azure/azure-powershell/blob/main/src/Purview/Purview/help/Update-AzPurviewAccount.md |
| cmdletStatusMessage | This cmdlet is part of a **Preview** module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus. |
| cmdletStatus | preview |
Update an account
Update-AzPurviewAccount -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>]
[-PublicNetworkAccess <String>] [-Tag <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
[-WhatIf] [-Confirm] [<CommonParameters>]
Update-AzPurviewAccount -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>]
-JsonString <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
[-WhatIf] [-Confirm] [<CommonParameters>]
Update-AzPurviewAccount -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>]
-JsonFilePath <String> [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
[-WhatIf] [-Confirm] [<CommonParameters>]
Update-AzPurviewAccount -InputObject <IPurviewIdentity> [-PublicNetworkAccess <String>] [-Tag <Hashtable>]
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-WhatIf] [-Confirm]
[<CommonParameters>]
Update an account
Update-AzPurviewAccount -Name test-pa -ResourceGroupName test-rg -Tag @{"k"="v"} | Format-ListCloudConnectorAwsExternalId : xxxxxxxxxx-d074-4f8f-9d7f-10811b250738
CreatedAt : 8/17/2021 6:18:57 AM
CreatedBy : xxxxx.xxxxx@microsoft.com
CreatedByObjectId : xxxxxxx-5be9-4f43-abd2-04561777c8b0
EndpointCatalog : https://test-pa.catalog.purview.azure.com
EndpointGuardian : https://test-pa.guardian.purview.azure.com
EndpointScan : https://test-pa.scan.purview.azure.com
FriendlyName : test-pa
Id : /subscriptions/xxxxxxxx-1bf0-4dda-aec3-cb9272f09590/resourceGroups/bez-rg/providers/Microsoft.Purview/a
ccounts/bez-pa
Identity : {
"principalId": "aaaaaaaa-bbbb-cccc-1111-222222222222",
"tenantId": "aaaabbbb-0000-cccc-1111-dddd2222eeee",
"type": "SystemAssigned"
}
IdentityPrincipalId : aaaaaaaa-bbbb-cccc-1111-222222222222
IdentityTenantId : aaaabbbb-0000-cccc-1111-dddd2222eeee
IdentityType : SystemAssigned
Location : eastus
ManagedResourceEventHubNamespace : /subscriptions/xxxxxxxx-1bf0-4dda-aec3-cb9272f09590/resourceGroups/managed-rg-bbcpgdj/providers/Microso
ft.EventHub/namespaces/Atlas-2bb7cf0b-5348-4811-a336-759242a25d37
ManagedResourceGroup : /subscriptions/xxxxxxxx-1bf0-4dda-aec3-cb9272f09590/resourceGroups/managed-rg-bbcpgdj
ManagedResourceGroupName : managed-rg-bbcpgdj
ManagedResourceStorageAccount : /subscriptions/xxxxxxxx-1bf0-4dda-aec3-cb9272f09590/resourceGroups/managed-rg-bbcpgdj/providers/Microso
ft.Storage/storageAccounts/scaneastusnkcccgc
Name : test-pa
PrivateEndpointConnection : {}
ProvisioningState : Succeeded
PublicNetworkAccess : Enabled
ResourceGroupName : test-rg
SkuCapacity : 1
SkuName : Standard
SystemData : {
"createdAt": "2021-08-17T06:18:57.7274115Z",
"createdBy": "xxxxx.xxxxx@microsoft.com",
"createdByType": "User",
"lastModifiedAt": "xxxxxx-08-17T06:18:57.7274115Z",
"lastModifiedBy": "xxxxx.xxxxx@microsoft.com",
"lastModifiedByType": "User"
}
SystemDataCreatedAt : 8/17/2021 6:18:57 AM
SystemDataCreatedBy : xxxxx.xxxxx@microsoft.com
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 8/17/2021 6:18:57 AM
SystemDataLastModifiedBy : xxxxxx.xxxxx@microsoft.com
SystemDataLastModifiedByType : User
Tag : {
"k": "v"
}
Type : Microsoft.Purview/account
Update the tag of a purview account named 'test-pa'
$get = Get-AzPurviewAccount -Name test-pa -ResourceGroupName test-rg
Update-AzPurviewAccount -InputObject $get -Tag @{"k"="v"}CloudConnectorAwsExternalId : xxxxxxxxxx-d074-4f8f-9d7f-10811b250738
CreatedAt : 8/17/2021 6:18:57 AM
CreatedBy : xxxxx.xxxxx@microsoft.com
CreatedByObjectId : xxxxxxx-5be9-4f43-abd2-04561777c8b0
EndpointCatalog : https://test-pa.catalog.purview.azure.com
EndpointGuardian : https://test-pa.guardian.purview.azure.com
EndpointScan : https://test-pa.scan.purview.azure.com
FriendlyName : test-pa
Id : /subscriptions/xxxxxxxx-1bf0-4dda-aec3-cb9272f09590/resourceGroups/bez-rg/providers/Microsoft.Purview/a
ccounts/bez-pa
Identity : {
"principalId": "aaaaaaaa-bbbb-cccc-1111-222222222222",
"tenantId": "aaaabbbb-0000-cccc-1111-dddd2222eeee",
"type": "SystemAssigned"
}
IdentityPrincipalId : aaaaaaaa-bbbb-cccc-1111-222222222222
IdentityTenantId : aaaabbbb-0000-cccc-1111-dddd2222eeee
IdentityType : SystemAssigned
Location : eastus
ManagedResourceEventHubNamespace : /subscriptions/xxxxxxxx-1bf0-4dda-aec3-cb9272f09590/resourceGroups/managed-rg-bbcpgdj/providers/Microso
ft.EventHub/namespaces/Atlas-2bb7cf0b-5348-4811-a336-759242a25d37
ManagedResourceGroup : /subscriptions/xxxxxxxx-1bf0-4dda-aec3-cb9272f09590/resourceGroups/managed-rg-bbcpgdj
ManagedResourceGroupName : managed-rg-bbcpgdj
ManagedResourceStorageAccount : /subscriptions/xxxxxxxx-1bf0-4dda-aec3-cb9272f09590/resourceGroups/managed-rg-bbcpgdj/providers/Microso
ft.Storage/storageAccounts/scaneastusnkcccgc
Name : test-pa
PrivateEndpointConnection : {}
ProvisioningState : Succeeded
PublicNetworkAccess : Enabled
ResourceGroupName : test-rg
SkuCapacity : 1
SkuName : Standard
SystemData : {
"createdAt": "2021-08-17T06:18:57.7274115Z",
"createdBy": "xxxxx.xxxxx@microsoft.com",
"createdByType": "User",
"lastModifiedAt": "xxxxxx-08-17T06:18:57.7274115Z",
"lastModifiedBy": "xxxxx.xxxxx@microsoft.com",
"lastModifiedByType": "User"
}
SystemDataCreatedAt : 8/17/2021 6:18:57 AM
SystemDataCreatedBy : xxxxx.xxxxx@microsoft.com
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 8/17/2021 6:18:57 AM
SystemDataLastModifiedBy : xxxxxx.xxxxx@microsoft.com
SystemDataLastModifiedByType : User
Tag : {
"k": "v"
}
Type : Microsoft.Purview/account
Update the tag of a purview account named 'test-pa' by InputObject
Run the command as a job
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: System.Management.Automation.PSObject
Parameter Sets: (All)
Aliases: AzureRMContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseIdentity Parameter
Type: Microsoft.Azure.PowerShell.Cmdlets.Purview.Models.IPurviewIdentity
Parameter Sets: UpdateViaIdentityExpanded
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalsePath of Json file supplied to the Update operation
Type: System.String
Parameter Sets: UpdateViaJsonFilePath
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseJson string supplied to the Update operation
Type: System.String
Parameter Sets: UpdateViaJsonString
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe name of the account.
Type: System.String
Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath
Aliases: AccountName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseRun the command asynchronously
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseGets or sets the public network access.
Type: System.String
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe resource group name.
Type: System.String
Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe subscription identifier
Type: System.String
Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath
Aliases:
Required: False
Position: Named
Default value: (Get-AzContext).Subscription.Id
Accept pipeline input: False
Accept wildcard characters: FalseTags on the azure resource.
Type: System.Collections.Hashtable
Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.