SecurityRules interface
Interface que representa um SecurityRules.
Métodos
| begin |
Cria ou atualiza uma regra de segurança no grupo de segurança de rede especificado. |
| begin |
Cria ou atualiza uma regra de segurança no grupo de segurança de rede especificado. |
| begin |
Exclui a regra de segurança de rede especificada. |
| begin |
Exclui a regra de segurança de rede especificada. |
| get(string, string, string, Security |
Obtenha a regra de segurança de rede especificada. |
| list(string, string, Security |
Obtém todas as regras de segurança em um grupo de segurança de rede. |
Detalhes do método
beginCreateOrUpdate(string, string, string, SecurityRule, SecurityRulesCreateOrUpdateOptionalParams)
Cria ou atualiza uma regra de segurança no grupo de segurança de rede especificado.
function beginCreateOrUpdate(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SecurityRule>, SecurityRule>>
Parâmetros
- resourceGroupName
-
string
O nome do grupo de recursos.
- networkSecurityGroupName
-
string
O nome do grupo de segurança de rede.
- securityRuleName
-
string
O nome da regra de segurança.
- securityRuleParameters
- SecurityRule
Parâmetros fornecidos para a operação criar ou atualizar a regra de segurança de rede.
Os parâmetros de opções.
Retornos
Promise<@azure/core-lro.SimplePollerLike<OperationState<SecurityRule>, SecurityRule>>
beginCreateOrUpdateAndWait(string, string, string, SecurityRule, SecurityRulesCreateOrUpdateOptionalParams)
Cria ou atualiza uma regra de segurança no grupo de segurança de rede especificado.
function beginCreateOrUpdateAndWait(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: SecurityRulesCreateOrUpdateOptionalParams): Promise<SecurityRule>
Parâmetros
- resourceGroupName
-
string
O nome do grupo de recursos.
- networkSecurityGroupName
-
string
O nome do grupo de segurança de rede.
- securityRuleName
-
string
O nome da regra de segurança.
- securityRuleParameters
- SecurityRule
Parâmetros fornecidos para a operação criar ou atualizar a regra de segurança de rede.
Os parâmetros de opções.
Retornos
Promise<SecurityRule>
beginDelete(string, string, string, SecurityRulesDeleteOptionalParams)
Exclui a regra de segurança de rede especificada.
function beginDelete(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parâmetros
- resourceGroupName
-
string
O nome do grupo de recursos.
- networkSecurityGroupName
-
string
O nome do grupo de segurança de rede.
- securityRuleName
-
string
O nome da regra de segurança.
Os parâmetros de opções.
Retornos
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, SecurityRulesDeleteOptionalParams)
Exclui a regra de segurança de rede especificada.
function beginDeleteAndWait(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesDeleteOptionalParams): Promise<void>
Parâmetros
- resourceGroupName
-
string
O nome do grupo de recursos.
- networkSecurityGroupName
-
string
O nome do grupo de segurança de rede.
- securityRuleName
-
string
O nome da regra de segurança.
Os parâmetros de opções.
Retornos
Promise<void>
get(string, string, string, SecurityRulesGetOptionalParams)
Obtenha a regra de segurança de rede especificada.
function get(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: SecurityRulesGetOptionalParams): Promise<SecurityRule>
Parâmetros
- resourceGroupName
-
string
O nome do grupo de recursos.
- networkSecurityGroupName
-
string
O nome do grupo de segurança de rede.
- securityRuleName
-
string
O nome da regra de segurança.
- options
- SecurityRulesGetOptionalParams
Os parâmetros de opções.
Retornos
Promise<SecurityRule>
list(string, string, SecurityRulesListOptionalParams)
Obtém todas as regras de segurança em um grupo de segurança de rede.
function list(resourceGroupName: string, networkSecurityGroupName: string, options?: SecurityRulesListOptionalParams): PagedAsyncIterableIterator<SecurityRule, SecurityRule[], PageSettings>
Parâmetros
- resourceGroupName
-
string
O nome do grupo de recursos.
- networkSecurityGroupName
-
string
O nome do grupo de segurança de rede.
- options
- SecurityRulesListOptionalParams
Os parâmetros de opções.