New-AzSynapseFirewallRule
Membuat Aturan Firewall Synapse Analytics.
Sintaks
New-AzSynapseFirewallRule
[-ResourceGroupName <String>]
-WorkspaceName <String>
-Name <String>
-StartIpAddress <String>
-EndIpAddress <String>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzSynapseFirewallRule
[-ResourceGroupName <String>]
-WorkspaceName <String>
[-AllowAllAzureIp]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzSynapseFirewallRule
[-ResourceGroupName <String>]
-WorkspaceName <String>
[-AllowAllIp]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzSynapseFirewallRule
-WorkspaceObject <PSSynapseWorkspace>
-Name <String>
-StartIpAddress <String>
-EndIpAddress <String>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzSynapseFirewallRule
-WorkspaceObject <PSSynapseWorkspace>
[-AllowAllAzureIp]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzSynapseFirewallRule
-WorkspaceObject <PSSynapseWorkspace>
[-AllowAllIp]
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Deskripsi
Cmdlet New-AzSynapseFirewallRule membuat Aturan Firewall Azure Synapse Analytics.
Contoh
Contoh 1
New-AzSynapseFirewallRule -WorkspaceName ContosoWorkspace -Name ContosoFirewallRule -StartIpAddress "0.0.0.0" -EndIpAddress "255.255.255.255"
Perintah ini membuat aturan firewall bernama ContosoFirewallRule di bawah ruang kerja ContosoWorkspace dengan nama ContosoFirewallRule.
Contoh 2
$ws = Get-AzSynapseWorkspace -Name ContosoWorkspace
$ws | New-AzSynapseFirewallRule -Name ContosoFirewallRule -StartIpAddress "0.0.0.0" -EndIpAddress "255.255.255.255"
Perintah ini membuat aturan firewall bernama ContosoFirewallRule di bawah ruang kerja melalui alur.
Contoh 3
New-AzSynapseFirewallRule -WorkspaceName ContosoWorkspace -AllowAllAzureIP
Perintah ini membuat aturan firewall yang memungkinkan semua ip azure di bawah ruang kerja.
Parameter
-AllowAllAzureIp
Membuat aturan firewall khusus yang mengizinkan semua IP Azure untuk memiliki akses.
Jenis: | SwitchParameter |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | False |
Terima karakter wildcard: | False |
-AllowAllIp
Membuat aturan firewall khusus yang memungkinkan koneksi dari semua alamat IP. IP Mulai adalah 0.0.0.0. IP Akhir adalah 255.255.255.255.
Jenis: | SwitchParameter |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | False |
Terima karakter wildcard: | False |
-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 |
-EndIpAddress
Alamat IP akhir aturan firewall. Harus format IPv4. Harus lebih besar dari atau sama dengan startIpAddress.
Jenis: | String |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | False |
Terima karakter wildcard: | False |
-Name
Nama aturan firerwall untuk ruang kerja.
Jenis: | String |
Alias: | FirewallRuleName |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | False |
Terima karakter wildcard: | False |
-ResourceGroupName
Nama grup sumber daya.
Jenis: | String |
Position: | Named |
Nilai default: | None |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |
-StartIpAddress
Alamat IP awal aturan firewall. Harus format IPv4.
Jenis: | String |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | False |
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 |
-WorkspaceName
Nama ruang kerja Synapse.
Jenis: | String |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | False |
Terima karakter wildcard: | False |
-WorkspaceObject
objek input ruang kerja, biasanya melewati alur.
Jenis: | PSSynapseWorkspace |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | True |
Terima karakter wildcard: | False |
Input
Output
Microsoft.Azure.Commands.Synapse.Models.PSSynapseIpFirewallRule