Set-AzNetworkManagerVerifierWorkspace
To update network manager verifier workspace.
Syntax
Set-AzNetworkManagerVerifierWorkspace
-InputObject <PSVerifierWorkspace>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByNameParameters
Set-AzNetworkManagerVerifierWorkspace
-Name <String>
-ResourceGroupName <String>
-NetworkManagerName <String>
[-Description <String>]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
ByResourceId
Set-AzNetworkManagerVerifierWorkspace
-ResourceId <String>
[-Description <String>]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Set-AzNetworkManagerVerifierWorkspace cmdlet enables the details of a network manager verifier workspace to be updated
Examples
Example 1
$verifierWorkspace = Get-AzNetworkManagerVerifierWorkspace -ResourceGroupName "testRG" -NetworkManagerName "testNM" -Name "AmeWorkspace"
$verifierWorkspace.Properties.Description = "Updated description"
Set-AzNetworkManagerVerifierWorkspace -InputObject $verifierWorkspace
Location : eastus2euap
Tags : {}
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSVerifierWorkspaceProperties
TagsTable :
PropertiesText : {
"ProvisioningState": "Succeeded",
"Description": "Updated description"
}
Name : AmeWorkspace
ResourceGroupName : testRG
NetworkManagerName : testNM
Type : Microsoft.Network/networkManagers/verifierWorkspaces
Etag : "\"00000000-0000-0000-0000-000000000000\""
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedBy": "test@email.com",
"CreatedByType": "User",
"CreatedAt": "2024-04-08T22:14:28.9064474Z",
"LastModifiedBy": "test@email.com",
"LastModifiedByType": "User",
"LastModifiedAt": "2024-10-15T17:48:28.0902461Z"
}
Id : /subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/verifierWorkspaces/AmeWorkspace
Changed the description of the Verifier Workspace 'AmeWorkspace' to "Updated description"
Example 2
$verifierWorkspace = Get-AzNetworkManagerVerifierWorkspace -ResourceGroupName "testRG" -NetworkManagerName "testNM" -Name "testVerifierWorkspace5"
$tags = [System.Collections.Generic.Dictionary[string, string]]::new()
$tags.Add("testTag", "test")
$verifierWorkspace.Tags = $tags
Set-AzNetworkManagerVerifierWorkspace -InputObject $verifierWorkspace
Location : eastus2euap
Tags : {[testTag, test]}
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSVerifierWorkspaceProperties
TagsTable :
Name Value
===== =====
testTag test
PropertiesText : {
"ProvisioningState": "Succeeded",
"Description": "string"
}
Name : testVerifierWorkspace5
ResourceGroupName : testRG
NetworkManagerName : testNM
Type : Microsoft.Network/networkManagers/verifierWorkspaces
Etag : "\"00000000-0000-0000-0000-000000000000\""
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedBy": "test@email.com",
"CreatedByType": "User",
"CreatedAt": "2024-01-30T16:25:07.4175577Z",
"LastModifiedBy": "test@email.com",
"LastModifiedByType": "User",
"LastModifiedAt": "2024-10-15T18:00:26.5078204Z"
}
Id : /subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/verifierWorkspaces/testVerifierWorkspace5
Added the tag of of name 'testTag' and value 'test' to the Verifier Workspace 'testVerifierWorkspace5'
Parameters
-AsJob
Run cmdlet in the background
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Aliases: cf
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
Type: IAzureContextContainer
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzContext, AzureRmContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Description
Description.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
ByNameParameters
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
ByResourceId
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
The Verifier Workspace
ByInputObject
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
The resource name.
Parameter properties
Type: String
Default value: None
Supports wildcards: True
DontShow: False
Aliases: ResourceName
Parameter sets
ByNameParameters
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-NetworkManagerName
The network manager name.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
ByNameParameters
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
The resource group name.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
ByNameParameters
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceId
The network manager verifier workspace id.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: VerifierWorkspaceId
Parameter sets
ByResourceId
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Aliases: wi
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs