Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VirtualNetworks

Package version

Class representing a VirtualNetworks.

Hierarchy

  • VirtualNetworks

Index

Constructors

constructor

Methods

beginCreateOrUpdate

  • beginCreateOrUpdate(resourceGroupName: string, labName: string, name: string, virtualNetwork: VirtualNetwork, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Create or replace an existing virtual network. This operation can take a while to complete.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the virtual network.

    • virtualNetwork: VirtualNetwork

      A virtual network.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginDeleteMethod

  • beginDeleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Delete virtual network. This operation can take a while to complete.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the virtual network.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, labName: string, name: string, virtualNetwork: VirtualNetwork, options?: msRest.RequestOptionsBase): Promise<Models.VirtualNetworksCreateOrUpdateResponse>
  • Create or replace an existing virtual network. This operation can take a while to complete.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the virtual network.

    • virtualNetwork: VirtualNetwork

      A virtual network.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VirtualNetworksCreateOrUpdateResponse>

    Promise<Models.VirtualNetworksCreateOrUpdateResponse>

deleteMethod

  • deleteMethod(resourceGroupName: string, labName: string, name: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • Delete virtual network. This operation can take a while to complete.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the virtual network.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

get

  • get(resourceGroupName: string, labName: string, name: string, options?: Models.VirtualNetworksGetOptionalParams): Promise<Models.VirtualNetworksGetResponse>
  • get(resourceGroupName: string, labName: string, name: string, callback: msRest.ServiceCallback<VirtualNetwork>): void
  • get(resourceGroupName: string, labName: string, name: string, options: VirtualNetworksGetOptionalParams, callback: msRest.ServiceCallback<VirtualNetwork>): void
  • Get virtual network.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the virtual network.

    • Optional options: Models.VirtualNetworksGetOptionalParams

    Returns Promise<Models.VirtualNetworksGetResponse>

    Promise<Models.VirtualNetworksGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the virtual network.

    • callback: msRest.ServiceCallback<VirtualNetwork>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the virtual network.

    • options: VirtualNetworksGetOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<VirtualNetwork>

      The callback

    Returns void

list

  • list(resourceGroupName: string, labName: string, options?: Models.VirtualNetworksListOptionalParams): Promise<Models.VirtualNetworksListResponse>
  • list(resourceGroupName: string, labName: string, callback: msRest.ServiceCallback<VirtualNetworkList>): void
  • list(resourceGroupName: string, labName: string, options: VirtualNetworksListOptionalParams, callback: msRest.ServiceCallback<VirtualNetworkList>): void
  • List virtual networks in a given lab.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • Optional options: Models.VirtualNetworksListOptionalParams

    Returns Promise<Models.VirtualNetworksListResponse>

    Promise<Models.VirtualNetworksListResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • callback: msRest.ServiceCallback<VirtualNetworkList>

      The callback

    Returns void

  • Parameters

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualNetworksListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<VirtualNetworkList>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<VirtualNetworkList>): void
  • List virtual networks in a given lab.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VirtualNetworksListNextResponse>

    Promise<Models.VirtualNetworksListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<VirtualNetworkList>

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

      The callback

    Returns void

update

  • update(resourceGroupName: string, labName: string, name: string, virtualNetwork: VirtualNetworkFragment, options?: msRest.RequestOptionsBase): Promise<Models.VirtualNetworksUpdateResponse>
  • update(resourceGroupName: string, labName: string, name: string, virtualNetwork: VirtualNetworkFragment, callback: msRest.ServiceCallback<VirtualNetwork>): void
  • update(resourceGroupName: string, labName: string, name: string, virtualNetwork: VirtualNetworkFragment, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<VirtualNetwork>): void
  • Modify properties of virtual networks.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the virtual network.

    • virtualNetwork: VirtualNetworkFragment

      A virtual network.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VirtualNetworksUpdateResponse>

    Promise<Models.VirtualNetworksUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the virtual network.

    • virtualNetwork: VirtualNetworkFragment

      A virtual network.

    • callback: msRest.ServiceCallback<VirtualNetwork>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • labName: string

      The name of the lab.

    • name: string

      The name of the virtual network.

    • virtualNetwork: VirtualNetworkFragment

      A virtual network.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<VirtualNetwork>

      The callback

    Returns void

Generated using TypeDoc