Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SecurityRules

Package version

Class representing a SecurityRules.

Hierarchy

  • SecurityRules

Index

Constructors

constructor

Methods

beginCreateOrUpdate

  • beginCreateOrUpdate(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Creates or updates a security rule in the specified network security group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • securityRuleName: string

      The name of the security rule.

    • securityRuleParameters: SecurityRule

      Parameters supplied to the create or update network security rule operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginDeleteMethod

  • beginDeleteMethod(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Deletes the specified network security rule.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • securityRuleName: string

      The name of the security rule.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, securityRuleParameters: SecurityRule, options?: msRest.RequestOptionsBase): Promise<Models.SecurityRulesCreateOrUpdateResponse>
  • Creates or updates a security rule in the specified network security group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • securityRuleName: string

      The name of the security rule.

    • securityRuleParameters: SecurityRule

      Parameters supplied to the create or update network security rule operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.SecurityRulesCreateOrUpdateResponse>

    Promise<Models.SecurityRulesCreateOrUpdateResponse>

deleteMethod

  • deleteMethod(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • Deletes the specified network security rule.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • securityRuleName: string

      The name of the security rule.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

get

  • get(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options?: msRest.RequestOptionsBase): Promise<Models.SecurityRulesGetResponse>
  • get(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, callback: msRest.ServiceCallback<SecurityRule>): void
  • get(resourceGroupName: string, networkSecurityGroupName: string, securityRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<SecurityRule>): void
  • Get the specified network security rule.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • securityRuleName: string

      The name of the security rule.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.SecurityRulesGetResponse>

    Promise<Models.SecurityRulesGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • securityRuleName: string

      The name of the security rule.

    • callback: msRest.ServiceCallback<SecurityRule>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • securityRuleName: string

      The name of the security rule.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<SecurityRule>

      The callback

    Returns void

list

  • list(resourceGroupName: string, networkSecurityGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.SecurityRulesListResponse>
  • list(resourceGroupName: string, networkSecurityGroupName: string, callback: msRest.ServiceCallback<SecurityRuleListResult>): void
  • list(resourceGroupName: string, networkSecurityGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<SecurityRuleListResult>): void
  • Gets all security rules in a network security group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.SecurityRulesListResponse>

    Promise<Models.SecurityRulesListResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • callback: msRest.ServiceCallback<SecurityRuleListResult>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<SecurityRuleListResult>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.SecurityRulesListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<SecurityRuleListResult>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<SecurityRuleListResult>): void
  • Gets all security rules in a network security group.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.SecurityRulesListNextResponse>

    Promise<Models.SecurityRulesListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<SecurityRuleListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<SecurityRuleListResult>

      The callback

    Returns void

Generated using TypeDoc