Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Network

Package version

Class representing a Network.

Hierarchy

  • Network

Index

Constructors

constructor

Methods

create

  • Creates a network resource with the specified name, description and properties. If a network resource with the same name exists, then it is updated with the specified description and properties.

    summary

    Creates or updates a network resource.

    Parameters

    • resourceGroupName: string

      Azure resource group name

    • networkResourceName: string

      The identity of the network.

    • networkResourceDescription: NetworkResourceDescription

      Description for creating a Network resource.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkCreateResponse>

    Promise<Models.NetworkCreateResponse>

  • Parameters

    • resourceGroupName: string

      Azure resource group name

    • networkResourceName: string

      The identity of the network.

    • networkResourceDescription: NetworkResourceDescription

      Description for creating a Network resource.

    • callback: msRest.ServiceCallback<NetworkResourceDescription>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      Azure resource group name

    • networkResourceName: string

      The identity of the network.

    • networkResourceDescription: NetworkResourceDescription

      Description for creating a Network resource.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<NetworkResourceDescription>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, networkResourceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(resourceGroupName: string, networkResourceName: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(resourceGroupName: string, networkResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Deletes the network resource identified by the name.

    summary

    Deletes the network resource.

    Parameters

    • resourceGroupName: string

      Azure resource group name

    • networkResourceName: string

      The identity of the network.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      Azure resource group name

    • networkResourceName: string

      The identity of the network.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      Azure resource group name

    • networkResourceName: string

      The identity of the network.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(resourceGroupName: string, networkResourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.NetworkGetResponse>
  • get(resourceGroupName: string, networkResourceName: string, callback: msRest.ServiceCallback<NetworkResourceDescription>): void
  • get(resourceGroupName: string, networkResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<NetworkResourceDescription>): void
  • Gets the information about the network resource with the given name. The information include the description and other properties of the network.

    summary

    Gets the network resource with the given name.

    Parameters

    • resourceGroupName: string

      Azure resource group name

    • networkResourceName: string

      The identity of the network.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkGetResponse>

    Promise<Models.NetworkGetResponse>

  • Parameters

    • resourceGroupName: string

      Azure resource group name

    • networkResourceName: string

      The identity of the network.

    • callback: msRest.ServiceCallback<NetworkResourceDescription>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      Azure resource group name

    • networkResourceName: string

      The identity of the network.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<NetworkResourceDescription>

      The callback

    Returns void

listByResourceGroup

  • listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.NetworkListByResourceGroupResponse>
  • listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<NetworkResourceDescriptionList>): void
  • listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<NetworkResourceDescriptionList>): void
  • Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network.

    summary

    Gets all the network resources in a given resource group.

    Parameters

    • resourceGroupName: string

      Azure resource group name

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkListByResourceGroupResponse>

    Promise<Models.NetworkListByResourceGroupResponse>

  • Parameters

    Returns void

  • Parameters

    • resourceGroupName: string

      Azure resource group name

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<NetworkResourceDescriptionList>

      The callback

    Returns void

listByResourceGroupNext

  • listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.NetworkListByResourceGroupNextResponse>
  • listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<NetworkResourceDescriptionList>): void
  • listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<NetworkResourceDescriptionList>): void
  • Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network.

    summary

    Gets all the network resources in a given resource group.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkListByResourceGroupNextResponse>

    Promise<Models.NetworkListByResourceGroupNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<NetworkResourceDescriptionList>

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

      The callback

    Returns void

listBySubscription

  • listBySubscription(options?: msRest.RequestOptionsBase): Promise<Models.NetworkListBySubscriptionResponse>
  • listBySubscription(callback: msRest.ServiceCallback<NetworkResourceDescriptionList>): void
  • listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<NetworkResourceDescriptionList>): void
  • Gets the information about all network resources in a given resource group. The information include the description and other properties of the network.

    summary

    Gets all the network resources in a given subscription.

    Parameters

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkListBySubscriptionResponse>

    Promise<Models.NetworkListBySubscriptionResponse>

  • Parameters

    Returns void

  • Parameters

    Returns void

listBySubscriptionNext

  • listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.NetworkListBySubscriptionNextResponse>
  • listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<NetworkResourceDescriptionList>): void
  • listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<NetworkResourceDescriptionList>): void
  • Gets the information about all network resources in a given resource group. The information include the description and other properties of the network.

    summary

    Gets all the network resources in a given subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkListBySubscriptionNextResponse>

    Promise<Models.NetworkListBySubscriptionNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<NetworkResourceDescriptionList>

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

      The callback

    Returns void

Generated using TypeDoc