Share via


NetworkSecurityGroupsOperations interface

Interface representing a NetworkSecurityGroups operations.

Properties

createOrUpdate

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

delete
get

Gets the specified network security group.

listAll

Gets all network security groups in a subscription.

listByResourceGroup

Gets all network security groups in a resource group.

updateTags

Updates a network security group tags.

Property Details

createOrUpdate

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

createOrUpdate: (resourceGroupName: string, networkSecurityGroupName: string, resource: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => PollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>

Property Value

(resourceGroupName: string, networkSecurityGroupName: string, resource: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => PollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>

delete

delete: (resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets the specified network security group.

get: (resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsGetOptionalParams) => Promise<NetworkSecurityGroup>

Property Value

(resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsGetOptionalParams) => Promise<NetworkSecurityGroup>

listAll

Gets all network security groups in a subscription.

listAll: (options?: NetworkSecurityGroupsListAllOptionalParams) => PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>

Property Value

(options?: NetworkSecurityGroupsListAllOptionalParams) => PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>

listByResourceGroup

Gets all network security groups in a resource group.

listByResourceGroup: (resourceGroupName: string, options?: NetworkSecurityGroupsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>

Property Value

(resourceGroupName: string, options?: NetworkSecurityGroupsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>

updateTags

Updates a network security group tags.

updateTags: (resourceGroupName: string, networkSecurityGroupName: string, properties: NetworkSecurityGroupTagsUpdate, options?: NetworkSecurityGroupsUpdateTagsOptionalParams) => PollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>

Property Value

(resourceGroupName: string, networkSecurityGroupName: string, properties: NetworkSecurityGroupTagsUpdate, options?: NetworkSecurityGroupsUpdateTagsOptionalParams) => PollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>