Set-AzNetworkManagerSecurityAdminConfiguration
Memperbarui konfigurasi admin keamanan manajer jaringan.
Sintaks
Set-AzNetworkManagerSecurityAdminConfiguration
-InputObject <PSNetworkManagerSecurityAdminConfiguration>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Deskripsi
Cmdlet Set-AzNetworkManagerSecurityAdminConfiguration memperbarui konfigurasi admin keamanan manajer jaringan.
Contoh
Contoh 1
$NetworkManagerSecurityConfiguration = Get-AzNetworkManagerSecurityAdminConfiguration -Name "psSecurityAdminConfig" -NetworkManagerName "psNetworkManager" -ResourceGroupName "psResourceGroup"
$NetworkManagerSecurityConfiguration.applyOnNetworkIntentPolicyBasedServices = @("None")
Set-AzNetworkManagerSecurityAdminConfiguration -InputObject $NetworkManagerSecurityConfiguration
SecurityType :
ApplyOnNetworkIntentPolicyBasedServices : {None}
ApplyOnNetworkIntentPolicyBasedServicesText : [
"None"
]
DeleteExistingNSGs :
DisplayName :
Description : TestDescription
Type : Microsoft.Network/networkManagers/securityAdminConfigurations
ProvisioningState : Succeeded
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedBy": "jaredgorthy@microsoft.com",
"CreatedByType": "User",
"CreatedAt": "2022-08-07T23:58:54.8549506Z",
"LastModifiedBy": "jaredgorthy@microsoft.com",
"LastModifiedByType": "User",
"LastModifiedAt": "2022-08-08T01:14:53.4574151Z"
}
Name : psSecurityAdminConfig
Etag :
Id : /subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b/resourceGroups/psResourceGroup/providers/Microsoft.Network/networkManagers/psNetworkManager/securityAdminConfigurations/psSecurityAdminConfig
Memperbarui konfigurasi admin keamanan manajer jaringan berlaku pada properti layanan berbasis kebijakan niat jaringan.
Parameter
-AsJob
Jalankan cmdlet di latar belakang
Jenis: | SwitchParameter |
Position: | Named |
Nilai default: | None |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |
-Confirm
Meminta Anda mengonfirmasi sebelum menjalankan cmdlet.
Jenis: | SwitchParameter |
Alias: | cf |
Position: | Named |
Nilai default: | None |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |
-DefaultProfile
Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan Azure.
Jenis: | IAzureContextContainer |
Alias: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Nilai default: | None |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |
-InputObject
The NetworkManagerSecurityAdminConfiguration
Jenis: | PSNetworkManagerSecurityAdminConfiguration |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | True |
Terima karakter wildcard: | False |
-WhatIf
Menunjukkan apa yang akan terjadi jika cmdlet berjalan. Cmdlet tidak dijalankan.
Jenis: | SwitchParameter |
Alias: | wi |
Position: | Named |
Nilai default: | None |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |
Input
PSNetworkManagerSecurityAdminConfiguration
Output
PSNetworkManagerSecurityAdminConfiguration
Link Terkait
Azure PowerShell