SecurityRulesOperations interface
Interface representing a SecurityRules operations.
Properties
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| create |
Creates or updates a security rule in the specified network security group. |
| delete | Deletes the specified network security rule. |
| get | Get the specified network security rule. |
| list | Gets all security rules in a network security group. |
Property Details
beginCreateOrUpdate
Warning
This API is now deprecated.
use createOrUpdate instead
beginCreateOrUpdate: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<SecurityRule>, SecurityRule>>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<SecurityRule>, SecurityRule>>
beginCreateOrUpdateAndWait
Warning
This API is now deprecated.
use createOrUpdate instead
beginCreateOrUpdateAndWait: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams) => Promise<SecurityRule>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams) => Promise<SecurityRule>
beginDelete
Warning
This API is now deprecated.
use delete instead
beginDelete: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait
Warning
This API is now deprecated.
use delete instead
beginDeleteAndWait: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesDeleteOptionalParams) => Promise<void>
createOrUpdate
Creates or updates a security rule in the specified network security group.
createOrUpdate: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<SecurityRule>, SecurityRule>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<SecurityRule>, SecurityRule>
delete
Deletes the specified network security rule.
delete: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
Get the specified network security rule.
get: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesGetOptionalParams) => Promise<SecurityRule>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesGetOptionalParams) => Promise<SecurityRule>
list
Gets all security rules in a network security group.
list: (resourceGroupName: string, networkSecurityGroupName: string, options?: SecurityRulesListOptionalParams) => PagedAsyncIterableIterator<SecurityRule, SecurityRule[], PageSettings>
Property Value
(resourceGroupName: string, networkSecurityGroupName: string, options?: SecurityRulesListOptionalParams) => PagedAsyncIterableIterator<SecurityRule, SecurityRule[], PageSettings>