INetworkSecurityGroup Interface

Definition

Network security group.

public interface INetworkSecurityGroup : Microsoft.Azure.Management.Network.Fluent.IHasAssociatedSubnets, Microsoft.Azure.Management.Network.Fluent.IUpdatableWithTags<Microsoft.Azure.Management.Network.Fluent.INetworkSecurityGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.Network.Fluent.INetworkManager,Microsoft.Azure.Management.Network.Fluent.Models.NetworkSecurityGroupInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Network.Fluent.Models.NetworkSecurityGroupInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Network.Fluent.INetworkManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Network.Fluent.INetworkSecurityGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Network.Fluent.NetworkSecurityGroup.Update.IUpdate>
type INetworkSecurityGroup = interface
    interface IGroupableResource<INetworkManager, NetworkSecurityGroupInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<INetworkManager>
    interface IHasInner<NetworkSecurityGroupInner>
    interface IRefreshable<INetworkSecurityGroup>
    interface IUpdatable<IUpdate>
    interface IUpdatableWithTags<INetworkSecurityGroup>
    interface IHasAssociatedSubnets
Public Interface INetworkSecurityGroup
Implements IGroupableResource(Of INetworkManager, NetworkSecurityGroupInner), IHasAssociatedSubnets, IHasInner(Of NetworkSecurityGroupInner), IHasManager(Of INetworkManager), IRefreshable(Of INetworkSecurityGroup), IUpdatable(Of IUpdate), IUpdatableWithTags(Of INetworkSecurityGroup)
Implements

Properties

DefaultSecurityRules

Gets default security rules associated with this network security group, indexed by their name.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
Key (Inherited from IIndexable)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
Name

Gets the name of the resource

(Inherited from IHasName)
NetworkInterfaceIds

Gets the IDs of the network interfaces associated with this network security group.

Region (Inherited from IResource)
RegionName (Inherited from IResource)
ResourceGroupName (Inherited from IHasResourceGroup)
SecurityRules

Gets security rules associated with this network security group, indexed by their names.

Tags (Inherited from IResource)
Type (Inherited from IResource)

Methods

ListAssociatedSubnets() (Inherited from IHasAssociatedSubnets)
Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Update() (Inherited from IUpdatable<T>)
UpdateTags()

Begins a tags update for a resource. This is the beginning of the builder pattern used to update tags for a resources in Azure. The final method completing the definition and starting the actual resource update process in Azure is AppliableWithTags.applyTags().

(Inherited from IUpdatableWithTags<T>)

Applies to