Bearbeiten

Freigeben über


Set-AzSqlServerIpv6FirewallRule

Modifies an IPv6 firewall rule in Azure SQL Database server.

Syntax

Set-AzSqlServerIpv6FirewallRule
   [-Ipv6FirewallRuleName] <String>
   -StartIpv6Address <String>
   -EndIpv6Address <String>
   [-ServerName] <String>
   [-ResourceGroupName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-AzSqlServerIpv6FirewallRule cmdlet modifies an IPv6 firewall rule in an Azure SQL Database server.

Examples

Example 1: Modify an IPv6 firewall rule

Set-AzSqlServerIpv6FirewallRule -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -Ipv6FirewallRuleName "Rule01" -StartIpv6Address "0000:0000:0000:0000:0000:ffff:c0a8:00c5" -EndIpv6Address "0000:0000:0000:0000:0000:ffff:c0a8:00c7"

ResourceGroupName : ResourceGroup01
ServerName        : Server01
StartIpv6Address    : 0000:0000:0000:0000:0000:ffff:c0a8:00c7
EndIpv6Address      : 0000:0000:0000:0000:0000:ffff:c0a8:00c8
Ipv6FirewallRuleName  : Rule01

This command modifies an IPv6 firewall rule named Rule01 on the server named Server01. The command modifies the start and end IPv6 addresses.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EndIpv6Address

Specifies the end value of the IPv6 address range for this rule.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Ipv6FirewallRuleName

Specifies the name of the IPv6 firewall rule that this cmdlet modifies.

Type:String
Aliases:Name
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Specifies the name of the resource group to which the server is assigned.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ServerName

Specifies the name of the server.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-StartIpv6Address

Specifies the start value of the IPv6 address range for the IPv6 firewall rule.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

AzureSqlServerIpv6FirewallRuleModel