你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzSqlServerIpv6FirewallRule
为 SQL 数据库服务器创建 IPv6 防火墙规则。
PowerShell
New-AzSqlServerIpv6FirewallRule
-Ipv6FirewallRuleName <String>
-StartIpv6Address <String>
-EndIpv6Address <String>
[-ServerName] <String>
[-ResourceGroupName] <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzSqlServerIpv6FirewallRule cmdlet 为指定的 Azure SQL 数据库服务器创建 IPv6 防火墙规则。
PowerShell
New-AzSqlServerIpv6FirewallRule -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -Ipv6FirewallRuleName "Rule01" -StartIpv6Address "0000:0000:0000:0000:0000:ffff:c0a8:00c6" -EndIpv6Address "0000:0000:0000:0000:0000:ffff:c0a8:00c7"
ResourceGroupName : ResourceGroup01
ServerName : Server01
StartIpv6Address : 0000:0000:0000:0000:0000:ffff:c0a8:00c6
EndIpv6Address : 0000:0000:0000:0000:0000:ffff:c0a8:00c7
Ipv6FirewallRuleName : Rule01
此命令在名为 Server01 的服务器上创建名为 Rule01 的 IPv6 防火墙规则。 该规则包括指定的开始和结束 IPv6 地址。
在运行 cmdlet 之前,提示你进行确认。
类型: | SwitchParameter |
别名: | cf |
Position: | Named |
默认值: | False |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
用于与 azure 通信的凭据、帐户、租户和订阅
类型: | IAzureContextContainer |
别名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
指定此规则的 IPv6 地址范围的结束值。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
指定新的 IPv6 防火墙规则的名称。
类型: | String |
别名: | Name |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
指定为其分配服务器的资源组的名称。
类型: | String |
Position: | 0 |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
指定服务器的名称。 指定服务器名称,而不是完全限定的 DNS 名称。
类型: | String |
Position: | 1 |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
指定 IPv6 防火墙规则的 IPv6 地址范围的起始值。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
显示 cmdlet 运行时会发生什么情况。 cmdlet 未运行。
类型: | SwitchParameter |
别名: | wi |
Position: | Named |
默认值: | False |
必需: | False |
接受管道输入: | False |
接受通配符: | False |