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<SimplePollerLike<OperationState<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<@azure/core-lro.SimplePollerLike<OperationState<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<SimplePollerLike<OperationState<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<@azure/core-lro.SimplePollerLike<OperationState<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>
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.
Returns
updateTags(string, string, TagsObject, NetworkSecurityGroupsUpdateTagsOptionalParams)
Updates a network security group tags.
function updateTags(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>