Get-AzEventHubNetworkSecurityPerimeterConfigurationsForAssociation
返回 NetworkSecurityPerimeterConfigurations resourceAssociationName
語法
Get (預設值)
Get-AzEventHubNetworkSecurityPerimeterConfigurationsForAssociation
-NamespaceName <String>
-ResourceAssociationName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentityNamespace
Get-AzEventHubNetworkSecurityPerimeterConfigurationsForAssociation
-ResourceAssociationName <String>
-NamespaceInputObject <IEventHubIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzEventHubNetworkSecurityPerimeterConfigurationsForAssociation
-InputObject <IEventHubIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
返回 NetworkSecurityPerimeterConfigurations resourceAssociationName
範例
範例 1:取得指定 ResourceAssociationName 之 EventHub 命名空間的網路安全性設定。
Get-AzEventHubNetworkSecurityPerimeterConfigurationsForAssociation -ResourceGroupName myResourceGroup -NamespaceName myNamespace -ResourceAssociationName resourceAssociationName
ApplicableFeature :
Id : /subscriptions/subscriptionid/resourceGroups/myresourcegroup/providers/Microsoft.EventHub/namespaces/
mynamespaceName/networkSecurityPerimeterConfigurations/subscriptionid.resourceAssociationName
IsBackingResource : False
Location : eastus2euap
Name : subscriptionid.resourceAssociationName
NetworkSecurityPerimeterGuid : subscriptionid
NetworkSecurityPerimeterId : /subscriptions/subscriptionid/resourceGroups/myresourcegroup/providers/Microsoft.Network/networkSecurityPe
rimeters/pranjit-nsp-ncus
NetworkSecurityPerimeterLocation : northcentralus
ParentAssociationName :
ProfileAccessRule : {{
"properties": {
"direction": "Inbound",
"addressPrefixes": [ ],
"subscriptions": [ ],
"networkSecurityPerimeters": [ ],
"fullyQualifiedDomainNames": [ ]
},
"name": "ingress2"
}, {
"properties": {
"direction": "Inbound",
"addressPrefixes": [ "198.166.98.0/24" ],
"subscriptions": [ ],
"networkSecurityPerimeters": [ ],
"fullyQualifiedDomainNames": [ ]
},
"name": "ingress"
}}
ProfileAccessRulesVersion : 5
ProfileName : defaultProfile
ProvisioningIssue :
ProvisioningState : Succeeded
ResourceAssociationAccessMode : Learning
ResourceAssociationName : resourceAssociationName
ResourceGroupName : myresourcegroup
SourceResourceId :
Type : Microsoft.EventHub/Namespaces/networkSecurityPerimeterConfigurations
取得 EventHub 命名空間 myNamespace的網路規則集。
參數
-DefaultProfile
DefaultProfile 參數無法運作。
如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。
參數屬性
| 類型: | PSObject
|
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
| 別名: | AzureRMContext, AzureCredential |
參數集
(All)
| Position: | Named |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
Identity 參數
GetViaIdentity
| Position: | Named |
| 必要: | True |
| 來自管線的值: | True |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
Identity 參數
GetViaIdentityNamespace
| Position: | Named |
| 必要: | True |
| 來自管線的值: | True |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-NamespaceName
命名空間名稱
參數屬性
| 類型: | String
|
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
Get
| Position: | Named |
| 必要: | True |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-ResourceAssociationName
ResourceAssociation 名稱
參數屬性
| 類型: | String
|
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
Get
| Position: | Named |
| 必要: | True |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
GetViaIdentityNamespace
| Position: | Named |
| 必要: | True |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-ResourceGroupName
資源群組的名稱。
名稱不區分大小寫。
參數屬性
| 類型: | String
|
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
Get
| Position: | Named |
| 必要: | True |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-SubscriptionId
目標訂用帳戶的標識碼。
參數屬性
| 類型: | String[]
|
| 預設值: | (Get-AzContext).Subscription.Id |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
Get
| Position: | Named |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
CommonParameters
此 Cmdlet 支援常見參數: -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。
輸出