Get-AzRelayNamespace
指定した名前空間の説明を返します。
構文
Get-AzRelayNamespace
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzRelayNamespace
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzRelayNamespace
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzRelayNamespace
-InputObject <IRelayIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
説明
指定した名前空間の説明を返します。
例
例 1: リソース グループ内のすべての Relay 名前空間を一覧表示する
Get-AzRelayNamespace -ResourceGroupName lucas-relay-rg
Name ResourceGroupName Location Status SkuName ServiceBusEndpoint
---- ----------------- -------- ------ ------- ------------------
lucasrelay lucas-relay-rg West Central US Active Standard https://lucasrelay.servicebus.windows.net:443/
namespace-pwsh01 lucas-relay-rg East US Active Standard https://namespace-pwsh01.servicebus.windows.net:443/
このコマンドレットは、リソース グループ内のすべての Relay 名前空間を一覧表示します。
例 2: リソース グループ内の指定された Relay 名前空間の説明を取得します
Get-AzRelayNamespace -ResourceGroupName lucas-relay-rg -Name namespace-pwsh01 | Format-List
CreatedAt : 12/20/2022 3:20:46 AM
Id : /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-relay-rg/providers/Microso
ft.Relay/namespaces/namespace-pwsh01
Location : East US
MetricId : 9e223dbe-3399-4e19-88eb-0975f02ac87f:namespace-pwsh01
Name : namespace-pwsh01
PrivateEndpointConnection :
ProvisioningState : Succeeded
PublicNetworkAccess :
ResourceGroupName : lucas-relay-rg
ServiceBusEndpoint : https://namespace-pwsh01.servicebus.windows.net:443/
SkuName : Standard
SkuTier : Standard
Status : Active
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tag : {
}
Type : Microsoft.Relay/Namespaces
UpdatedAt : 12/20/2022 3:21:28 AM
このコマンドレットは、リソース グループ内の指定された Relay 名前空間の説明を取得します。
例 3: パイプラインによって指定された Relay 名前空間の説明を取得します
$namespaces = Get-AzRelayNamespace -ResourceGroupName lucas-relay-rg
$namespaces[0] | Get-AzRelayNamespace
Name ResourceGroupName Location Status SkuName ServiceBusEndpoint
---- ----------------- -------- ------ ------- ------------------
lucasrelay lucas-relay-rg West Central US Active Standard https://lucasrelay.servicebus.windows.net:443/
このコマンドレットは、指定された Relay 名前空間の説明をパイプラインによって取得します。
パラメーター
-DefaultProfile
DefaultProfile パラメーターは機能しません。 別のサブスクリプションに対してコマンドレットを実行する場合は、使用可能な場合は SubscriptionId パラメーターを使用します。
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
ID パラメーターを構築するには、INPUTOBJECT プロパティの NOTES セクションを参照し、ハッシュ テーブルを作成します。
Type: | IRelayIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
名前空間名
Type: | String |
Aliases: | NamespaceName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Azure サブスクリプション内のリソース グループの名前。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Microsoft Azure サブスクリプションを一意に識別するサブスクリプション資格情報。 サブスクリプション ID は、全ての修理依頼についてURI の一部を生じさせます。
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
入力
出力
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示