NetworkSecurityGroups interface
Interface representing a NetworkSecurityGroups.
Methods
Method Details
beginCreateOrUpdate(string, string, NetworkSecurityGroup, NetworkSecurityGroupsCreateOrUpdateOptionalParams)
Creates or updates a network security group in the specified resource group.
function beginCreateOrUpdate(resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<NetworkSecurityGroup>, NetworkSecurityGroup>>
Parameters
- 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.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<NetworkSecurityGroup>, NetworkSecurityGroup>>
beginCreateOrUpdateAndWait(string, string, NetworkSecurityGroup, NetworkSecurityGroupsCreateOrUpdateOptionalParams)
Creates or updates a network security group in the specified resource group.
function beginCreateOrUpdateAndWait(resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams): Promise<NetworkSecurityGroup>
Parameters
- 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.
The options parameters.
Returns
Promise<NetworkSecurityGroup>
beginDelete(string, string, NetworkSecurityGroupsDeleteOptionalParams)
Deletes the specified network security group.
function beginDelete(resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkSecurityGroupName
-
string
The name of the network security group.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, NetworkSecurityGroupsDeleteOptionalParams)
Deletes the specified network security group.
function beginDeleteAndWait(resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkSecurityGroupName
-
string
The name of the network security group.
The options parameters.
Returns
Promise<void>
beginUpdateTags(string, string, TagsObject, NetworkSecurityGroupsUpdateTagsOptionalParams)
Updates a network security group tags.
function beginUpdateTags(resourceGroupName: string, networkSecurityGroupName: string, parameters: TagsObject, options?: NetworkSecurityGroupsUpdateTagsOptionalParams): Promise<PollerLike<PollOperationState<NetworkSecurityGroup>, NetworkSecurityGroup>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkSecurityGroupName
-
string
The name of the network security group.
- parameters
- TagsObject
Parameters supplied to update network security group tags.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<NetworkSecurityGroup>, NetworkSecurityGroup>>
beginUpdateTagsAndWait(string, string, TagsObject, NetworkSecurityGroupsUpdateTagsOptionalParams)
Updates a network security group tags.
function beginUpdateTagsAndWait(resourceGroupName: string, networkSecurityGroupName: string, parameters: TagsObject, options?: NetworkSecurityGroupsUpdateTagsOptionalParams): Promise<NetworkSecurityGroup>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkSecurityGroupName
-
string
The name of the network security group.
- parameters
- TagsObject
Parameters supplied to update network security group tags.
The options parameters.
Returns
Promise<NetworkSecurityGroup>
get(string, string, NetworkSecurityGroupsGetOptionalParams)
Gets the specified network security group.
function get(resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsGetOptionalParams): Promise<NetworkSecurityGroup>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkSecurityGroupName
-
string
The name of the network security group.
The options parameters.
Returns
Promise<NetworkSecurityGroup>
list(string, NetworkSecurityGroupsListOptionalParams)
Gets all network security groups in a resource group.
function list(resourceGroupName: string, options?: NetworkSecurityGroupsListOptionalParams): PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
The options parameters.
Returns
listAll(NetworkSecurityGroupsListAllOptionalParams)
Gets all network security groups in a subscription.
function listAll(options?: NetworkSecurityGroupsListAllOptionalParams): PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>
Parameters
The options parameters.