< Back

Set-AzureRmRelayNamespace

Tue Jan 29, 2019 10:04 pm

NAME Set-AzureRmRelayNamespace



SYNOPSIS

Updates the description of an existing Relay namespace.





SYNTAX

Set-AzureRmRelayNamespace [-ResourceGroupName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>] [-InputObject

<RelayNamespaceAttirbutesUpdateParameter>] [-Tag <Hashtable>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Set-AzureRmRelayNamespace cmdlet updates the description of the specified Relay namespace within the resource group.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InputObject <RelayNamespaceAttirbutesUpdateParameter>

Relay Namespace object



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Name <String>

Relay Namespace Name



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Resource Group Name.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Tag <Hashtable>

Key-value pairs in the form of a hash table. For example:



@{key0="value0";key1=$null;key2="value2"}



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

-ResourceGroupName

System.String



-NamespaceName

System.String



-Location

System.String



-Tag

System.Collections.Hashtable





OUTPUTS

Microsoft.Azure.Commands.Relay.Models.RelayNamespaceAttributes







NOTES









Example 1



PS C:\\> Set-AzureRmRelayNamespace -ResourceGroupName Default-ServiceBus-WestUS -NamespaceName TestNameSpace-Relay1 -Tag @{Tag2="Tag2Value"}



ProvisioningState :

CreatedAt : 4/12/2017 12:38:47 AM

UpdatedAt : 4/12/2017 12:39:10 AM

ServiceBusEndpoint : https://TestNameSpace-Relay1.servicebus ... s.net:443/

MetricId :

Location :

Tags : {[tag2, Tag2Value]}

Id :

Name :

Type :



Updates the Relay namespace with a new description.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ynamespace