NetworkSecurityGroupsOperations interface
Interface representing a NetworkSecurityGroups operations.
Properties
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| create |
Creates or updates a network security group in the specified resource group. |
| delete | Deletes the specified network security group. |
| get | Gets the specified network security group. |
| list | Gets all network security groups in a resource group. |
| list |
Gets all network security groups in a subscription. |
| update |
Updates a network security group tags. |
Property Details
beginCreateOrUpdate
Warning
This API is now deprecated.
use createOrUpdate instead
beginCreateOrUpdate: (resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>>
beginCreateOrUpdateAndWait
Warning
This API is now deprecated.
use createOrUpdate instead
beginCreateOrUpdateAndWait: (resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => Promise<NetworkSecurityGroup>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => Promise<NetworkSecurityGroup>
beginDelete
Warning
This API is now deprecated.
use delete instead
beginDelete: (resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait
Warning
This API is now deprecated.
use delete instead
beginDeleteAndWait: (resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams) => Promise<void>
createOrUpdate
Creates or updates a network security group in the specified resource group.
createOrUpdate: (resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => PollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => PollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>
delete
Deletes the specified network security group.
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>
list
Gets all network security groups in a resource group.
list: (resourceGroupName: string, options?: NetworkSecurityGroupsListOptionalParams) => PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>
Property Value
(resourceGroupName: string, options?: NetworkSecurityGroupsListOptionalParams) => PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>
listAll
Gets all network security groups in a subscription.
listAll: (options?: NetworkSecurityGroupsListAllOptionalParams) => PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>
Property Value
(options?: NetworkSecurityGroupsListAllOptionalParams) => PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>
updateTags
Updates a network security group tags.
updateTags: (resourceGroupName: string, networkSecurityGroupName: string, parameters: TagsObject, options?: NetworkSecurityGroupsUpdateTagsOptionalParams) => Promise<NetworkSecurityGroup>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, parameters: TagsObject, options?: NetworkSecurityGroupsUpdateTagsOptionalParams) => Promise<NetworkSecurityGroup>