C# Class Microsoft.Azure.Commands.Sql.FirewallRule.Cmdlet.NewAzureSqlServerFirewallRule

Inheritance: AzureSqlServerFirewallRuleCmdletBase
Show file Open project: Azure/azure-powershell

Private Properties

Property Type Description

Protected Methods

Method Description
ApplyUserInputToModel ( IEnumerable model ) : IEnumerable

Generates the model from user input.

GetEntity ( ) : IEnumerable

Check to see if the FirewallRule already exists for this server

PersistChanges ( IEnumerable entity ) : IEnumerable

Sends the changes to the service -> Creates the Firewall Rule

Method Details

ApplyUserInputToModel() protected method

Generates the model from user input.
protected ApplyUserInputToModel ( IEnumerable model ) : IEnumerable
model IEnumerable This is null since the FirewallRule doesn't exist yet
return IEnumerable

GetEntity() protected method

Check to see if the FirewallRule already exists for this server
protected GetEntity ( ) : IEnumerable
return IEnumerable

PersistChanges() protected method

Sends the changes to the service -> Creates the Firewall Rule
protected PersistChanges ( IEnumerable entity ) : IEnumerable
entity IEnumerable The FirewallRule to create
return IEnumerable