SecurityRulesOperations interface

Gränssnitt som representerar en SecurityRules-åtgärd.

Egenskaper

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

Skapar eller uppdaterar en säkerhetsregel i den angivna nätverkssäkerhetsgruppen.

delete

Tar bort den angivna nätverkssäkerhetsregeln.

get

Hämta den angivna nätverkssäkerhetsregeln.

list

Hämtar alla säkerhetsregler i en nätverkssäkerhetsgrupp.

Egenskapsinformation

beginCreateOrUpdate

Varning

Det här API:et är nu inaktuellt.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<SecurityRule>, SecurityRule>>

Egenskapsvärde

(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<SecurityRule>, SecurityRule>>

beginCreateOrUpdateAndWait

Varning

Det här API:et är nu inaktuellt.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams) => Promise<SecurityRule>

Egenskapsvärde

(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams) => Promise<SecurityRule>

beginDelete

Varning

Det här API:et är nu inaktuellt.

use delete instead

beginDelete: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Egenskapsvärde

(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Varning

Det här API:et är nu inaktuellt.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesDeleteOptionalParams) => Promise<void>

Egenskapsvärde

(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesDeleteOptionalParams) => Promise<void>

createOrUpdate

Skapar eller uppdaterar en säkerhetsregel i den angivna nätverkssäkerhetsgruppen.

createOrUpdate: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<SecurityRule>, SecurityRule>

Egenskapsvärde

(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<SecurityRule>, SecurityRule>

delete

Tar bort den angivna nätverkssäkerhetsregeln.

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

Egenskapsvärde

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

get

Hämta den angivna nätverkssäkerhetsregeln.

get: (resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesGetOptionalParams) => Promise<SecurityRule>

Egenskapsvärde

(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesGetOptionalParams) => Promise<SecurityRule>

list

Hämtar alla säkerhetsregler i en nätverkssäkerhetsgrupp.

list: (resourceGroupName: string, networkSecurityGroupName: string, options?: SecurityRulesListOptionalParams) => PagedAsyncIterableIterator<SecurityRule, SecurityRule[], PageSettings>

Egenskapsvärde

(resourceGroupName: string, networkSecurityGroupName: string, options?: SecurityRulesListOptionalParams) => PagedAsyncIterableIterator<SecurityRule, SecurityRule[], PageSettings>