Share via


NetworkSecurityGroupsOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates a network security group in the specified resource group.

public static Microsoft.Azure.Management.Network.Models.NetworkSecurityGroup CreateOrUpdate (this Microsoft.Azure.Management.Network.INetworkSecurityGroupsOperations operations, string resourceGroupName, string networkSecurityGroupName, Microsoft.Azure.Management.Network.Models.NetworkSecurityGroup parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Network.INetworkSecurityGroupsOperations * string * string * Microsoft.Azure.Management.Network.Models.NetworkSecurityGroup -> Microsoft.Azure.Management.Network.Models.NetworkSecurityGroup
<Extension()>
Public Function CreateOrUpdate (operations As INetworkSecurityGroupsOperations, resourceGroupName As String, networkSecurityGroupName As String, parameters As NetworkSecurityGroup) As NetworkSecurityGroup

Parameters

operations
INetworkSecurityGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

networkSecurityGroupName
String

The name of the network security group.

parameters
NetworkSecurityGroup

Parameters supplied to the create or update network security group operation.

Returns

Applies to