Share via


INetworkSecurityGroupOperations Interface

 

The Network Management API includes operations for managing the Network Security Groups for your subscription.

Namespace:   Microsoft.WindowsAzure.Management.Network
Assembly:  Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Syntax

public interface INetworkSecurityGroupOperations
public interface class INetworkSecurityGroupOperations
type INetworkSecurityGroupOperations = interface end
Public Interface INetworkSecurityGroupOperations

Methods

Name Description
AddToSubnetAsync(String, String, NetworkSecurityGroupAddToSubnetParameters, CancellationToken)

Adds a Network Security Group to a subnet.

BeginAddingToSubnetAsync(String, String, NetworkSecurityGroupAddToSubnetParameters, CancellationToken)

Adds a Network Security Group to a subnet.

BeginCreatingAsync(NetworkSecurityGroupCreateParameters, CancellationToken)

Creates a new Network Security Group.

BeginDeletingAsync(String, CancellationToken)

Deletes the pecified Network Security Group from your subscription.If the Network Security group is still associated with some VM/Role/Subnet, the deletion will fail. In order to successfully delete the Network Security, it needs to be not used.

BeginDeletingRuleAsync(String, String, CancellationToken)

Deletes a rule from the specified Network Security Group.

BeginRemovingFromSubnetAsync(String, String, String, CancellationToken)

Removes a Network Security Group from a subnet.

BeginSettingRuleAsync(String, String, NetworkSecuritySetRuleParameters, CancellationToken)

Sets a new Network Security Rule to existing Network Security Group.

CreateAsync(NetworkSecurityGroupCreateParameters, CancellationToken)

Creates a new Network Security Group.

DeleteAsync(String, CancellationToken)

The Delete Network Security Group operation removes thespecified Network Security Group from your subscription.If the Network Security group is still associated with some VM/Role/Subnet, the deletion will fail. In order to successfully delete the Network Security, it needs to be not used.

DeleteRuleAsync(String, String, CancellationToken)

The Delete Network Security Rule operation removes a rule from the specified Network Security Group.

GetAsync(String, String, CancellationToken)

Gets the details for the specified Network Security Group in the subscription.

GetForSubnetAsync(String, String, CancellationToken)

Gets the Network Security Group applied to a specific subnet.

ListAsync(CancellationToken)

Lists all of the Network Security Groups for the subscription.

RemoveFromSubnetAsync(String, String, String, CancellationToken)

Removes a Network Security Group from a subnet.

SetRuleAsync(String, String, NetworkSecuritySetRuleParameters, CancellationToken)

Add new Network Security Rule to existing Network Security Group.

Extension Methods

Name Description
AddToSubnet(String, String, NetworkSecurityGroupAddToSubnetParameters)

Adds a Network Security Group to a subnet.(Defined by NetworkSecurityGroupOperationsExtensions.)

AddToSubnetAsync(String, String, NetworkSecurityGroupAddToSubnetParameters)

Adds a Network Security Group to a subnet.(Defined by NetworkSecurityGroupOperationsExtensions.)

BeginAddingToSubnet(String, String, NetworkSecurityGroupAddToSubnetParameters)

Adds a Network Security Group to a subnet.(Defined by NetworkSecurityGroupOperationsExtensions.)

BeginAddingToSubnetAsync(String, String, NetworkSecurityGroupAddToSubnetParameters)

Adds a Network Security Group to a subnet.(Defined by NetworkSecurityGroupOperationsExtensions.)

BeginCreating(NetworkSecurityGroupCreateParameters)

Creates a new Network Security Group.(Defined by NetworkSecurityGroupOperationsExtensions.)

BeginCreatingAsync(NetworkSecurityGroupCreateParameters)

Creates a new Network Security Group.(Defined by NetworkSecurityGroupOperationsExtensions.)

BeginDeleting(String)

Deletes the pecified Network Security Group from your subscription.If the Network Security group is still associated with some VM/Role/Subnet, the deletion will fail. In order to successfully delete the Network Security, it needs to be not used.(Defined by NetworkSecurityGroupOperationsExtensions.)

BeginDeletingAsync(String)

Deletes the pecified Network Security Group from your subscription.If the Network Security group is still associated with some VM/Role/Subnet, the deletion will fail. In order to successfully delete the Network Security, it needs to be not used.(Defined by NetworkSecurityGroupOperationsExtensions.)

BeginDeletingRule(String, String)

Deletes a rule from the specified Network Security Group.(Defined by NetworkSecurityGroupOperationsExtensions.)

BeginDeletingRuleAsync(String, String)

Deletes a rule from the specified Network Security Group.(Defined by NetworkSecurityGroupOperationsExtensions.)

BeginRemovingFromSubnet(String, String, String)

Removes a Network Security Group from a subnet.(Defined by NetworkSecurityGroupOperationsExtensions.)

BeginRemovingFromSubnetAsync(String, String, String)

Removes a Network Security Group from a subnet.(Defined by NetworkSecurityGroupOperationsExtensions.)

BeginSettingRule(String, String, NetworkSecuritySetRuleParameters)

Sets a new Network Security Rule to existing Network Security Group.(Defined by NetworkSecurityGroupOperationsExtensions.)

BeginSettingRuleAsync(String, String, NetworkSecuritySetRuleParameters)

Sets a new Network Security Rule to existing Network Security Group.(Defined by NetworkSecurityGroupOperationsExtensions.)

Create(NetworkSecurityGroupCreateParameters)

Creates a new Network Security Group.(Defined by NetworkSecurityGroupOperationsExtensions.)

CreateAsync(NetworkSecurityGroupCreateParameters)

Creates a new Network Security Group.(Defined by NetworkSecurityGroupOperationsExtensions.)

Delete(String)

The Delete Network Security Group operation removes thespecified Network Security Group from your subscription.If the Network Security group is still associated with some VM/Role/Subnet, the deletion will fail. In order to successfully delete the Network Security, it needs to be not used.(Defined by NetworkSecurityGroupOperationsExtensions.)

DeleteAsync(String)

The Delete Network Security Group operation removes thespecified Network Security Group from your subscription.If the Network Security group is still associated with some VM/Role/Subnet, the deletion will fail. In order to successfully delete the Network Security, it needs to be not used.(Defined by NetworkSecurityGroupOperationsExtensions.)

DeleteRule(String, String)

The Delete Network Security Rule operation removes a rule from the specified Network Security Group.(Defined by NetworkSecurityGroupOperationsExtensions.)

DeleteRuleAsync(String, String)

The Delete Network Security Rule operation removes a rule from the specified Network Security Group.(Defined by NetworkSecurityGroupOperationsExtensions.)

Get(String, String)

Gets the details for the specified Network Security Group in the subscription.(Defined by NetworkSecurityGroupOperationsExtensions.)

GetAsync(String, String)

Gets the details for the specified Network Security Group in the subscription.(Defined by NetworkSecurityGroupOperationsExtensions.)

GetForSubnet(String, String)

Gets the Network Security Group applied to a specific subnet.(Defined by NetworkSecurityGroupOperationsExtensions.)

GetForSubnetAsync(String, String)

Gets the Network Security Group applied to a specific subnet.(Defined by NetworkSecurityGroupOperationsExtensions.)

List()

Lists all of the Network Security Groups for the subscription.(Defined by NetworkSecurityGroupOperationsExtensions.)

ListAsync()

Lists all of the Network Security Groups for the subscription.(Defined by NetworkSecurityGroupOperationsExtensions.)

RemoveFromSubnet(String, String, String)

Removes a Network Security Group from a subnet.(Defined by NetworkSecurityGroupOperationsExtensions.)

RemoveFromSubnetAsync(String, String, String)

Removes a Network Security Group from a subnet.(Defined by NetworkSecurityGroupOperationsExtensions.)

SetRule(String, String, NetworkSecuritySetRuleParameters)

Add new Network Security Rule to existing Network Security Group.(Defined by NetworkSecurityGroupOperationsExtensions.)

SetRuleAsync(String, String, NetworkSecuritySetRuleParameters)

Add new Network Security Rule to existing Network Security Group.(Defined by NetworkSecurityGroupOperationsExtensions.)

See Also

Microsoft.WindowsAzure.Management.Network Namespace

Return to top