Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NetworkSecurityGroups

Package version

Class representing a NetworkSecurityGroups.

Hierarchy

  • NetworkSecurityGroups

Index

Constructors

constructor

Methods

beginCreateOrUpdate

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

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • parameters: NetworkSecurityGroup

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

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginDeleteMethod

  • beginDeleteMethod(resourceGroupName: string, networkSecurityGroupName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Deletes the specified 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<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginUpdateTags

  • beginUpdateTags(resourceGroupName: string, networkSecurityGroupName: string, parameters: TagsObject, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Updates a network security group tags.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • parameters: TagsObject

      Parameters supplied to update network security group tags.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: msRest.RequestOptionsBase): Promise<Models.NetworkSecurityGroupsCreateOrUpdateResponse>
  • Creates or updates a network security group in the specified resource group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • parameters: NetworkSecurityGroup

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

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkSecurityGroupsCreateOrUpdateResponse>

    Promise<Models.NetworkSecurityGroupsCreateOrUpdateResponse>

deleteMethod

  • deleteMethod(resourceGroupName: string, networkSecurityGroupName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • Deletes the specified 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<msRest.RestResponse>

    Promise<msRest.RestResponse>

get

  • get(resourceGroupName: string, networkSecurityGroupName: string, options?: Models.NetworkSecurityGroupsGetOptionalParams): Promise<Models.NetworkSecurityGroupsGetResponse>
  • get(resourceGroupName: string, networkSecurityGroupName: string, callback: msRest.ServiceCallback<NetworkSecurityGroup>): void
  • get(resourceGroupName: string, networkSecurityGroupName: string, options: NetworkSecurityGroupsGetOptionalParams, callback: msRest.ServiceCallback<NetworkSecurityGroup>): void
  • Gets the specified network security group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • Optional options: Models.NetworkSecurityGroupsGetOptionalParams

    Returns Promise<Models.NetworkSecurityGroupsGetResponse>

    Promise<Models.NetworkSecurityGroupsGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • callback: msRest.ServiceCallback<NetworkSecurityGroup>

      The callback

    Returns void

  • Parameters

    Returns void

list

  • list(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.NetworkSecurityGroupsListResponse>
  • list(resourceGroupName: string, callback: msRest.ServiceCallback<NetworkSecurityGroupListResult>): void
  • list(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<NetworkSecurityGroupListResult>): void

listAll

listAllNext

  • listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.NetworkSecurityGroupsListAllNextResponse>
  • listAllNext(nextPageLink: string, callback: msRest.ServiceCallback<NetworkSecurityGroupListResult>): void
  • listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<NetworkSecurityGroupListResult>): void
  • Gets all network security groups in a subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkSecurityGroupsListAllNextResponse>

    Promise<Models.NetworkSecurityGroupsListAllNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<NetworkSecurityGroupListResult>

      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<NetworkSecurityGroupListResult>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.NetworkSecurityGroupsListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<NetworkSecurityGroupListResult>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<NetworkSecurityGroupListResult>): void
  • Gets all network security groups in a resource group.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkSecurityGroupsListNextResponse>

    Promise<Models.NetworkSecurityGroupsListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<NetworkSecurityGroupListResult>

      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<NetworkSecurityGroupListResult>

      The callback

    Returns void

updateTags

  • updateTags(resourceGroupName: string, networkSecurityGroupName: string, parameters: TagsObject, options?: msRest.RequestOptionsBase): Promise<Models.NetworkSecurityGroupsUpdateTagsResponse>
  • Updates a network security group tags.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkSecurityGroupName: string

      The name of the network security group.

    • parameters: TagsObject

      Parameters supplied to update network security group tags.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkSecurityGroupsUpdateTagsResponse>

    Promise<Models.NetworkSecurityGroupsUpdateTagsResponse>

Generated using TypeDoc