Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NetworkInterfaces

Package version

Class representing a NetworkInterfaces.

Hierarchy

  • NetworkInterfaces

Index

Constructors

constructor

Methods

beginCreateOrUpdate

  • beginCreateOrUpdate(resourceGroupName: string, networkInterfaceName: string, parameters: NetworkInterface, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Creates or updates a network interface.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • parameters: NetworkInterface

      Parameters supplied to the create or update network interface operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginDeleteMethod

  • beginDeleteMethod(resourceGroupName: string, networkInterfaceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Deletes the specified network interface.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginGetEffectiveRouteTable

  • beginGetEffectiveRouteTable(resourceGroupName: string, networkInterfaceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Gets all route tables applied to a network interface.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginListEffectiveNetworkSecurityGroups

  • beginListEffectiveNetworkSecurityGroups(resourceGroupName: string, networkInterfaceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Gets all network security groups applied to a network interface.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginUpdateTags

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

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • parameters: TagsObject

      Parameters supplied to update network interface tags.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, networkInterfaceName: string, parameters: NetworkInterface, options?: msRest.RequestOptionsBase): Promise<Models.NetworkInterfacesCreateOrUpdateResponse>
  • Creates or updates a network interface.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • parameters: NetworkInterface

      Parameters supplied to the create or update network interface operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkInterfacesCreateOrUpdateResponse>

    Promise<Models.NetworkInterfacesCreateOrUpdateResponse>

deleteMethod

  • deleteMethod(resourceGroupName: string, networkInterfaceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • Deletes the specified network interface.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

get

  • get(resourceGroupName: string, networkInterfaceName: string, options?: Models.NetworkInterfacesGetOptionalParams): Promise<Models.NetworkInterfacesGetResponse>
  • get(resourceGroupName: string, networkInterfaceName: string, callback: msRest.ServiceCallback<NetworkInterface>): void
  • get(resourceGroupName: string, networkInterfaceName: string, options: NetworkInterfacesGetOptionalParams, callback: msRest.ServiceCallback<NetworkInterface>): void
  • Gets information about the specified network interface.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • Optional options: Models.NetworkInterfacesGetOptionalParams

    Returns Promise<Models.NetworkInterfacesGetResponse>

    Promise<Models.NetworkInterfacesGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • callback: msRest.ServiceCallback<NetworkInterface>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • options: NetworkInterfacesGetOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<NetworkInterface>

      The callback

    Returns void

getEffectiveRouteTable

  • getEffectiveRouteTable(resourceGroupName: string, networkInterfaceName: string, options?: msRest.RequestOptionsBase): Promise<Models.NetworkInterfacesGetEffectiveRouteTableResponse>
  • Gets all route tables applied to a network interface.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkInterfacesGetEffectiveRouteTableResponse>

    Promise<Models.NetworkInterfacesGetEffectiveRouteTableResponse>

list

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

listAll

  • listAll(options?: msRest.RequestOptionsBase): Promise<Models.NetworkInterfacesListAllResponse>
  • listAll(callback: msRest.ServiceCallback<NetworkInterfaceListResult>): void
  • listAll(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<NetworkInterfaceListResult>): void

listAllNext

  • listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.NetworkInterfacesListAllNextResponse>
  • listAllNext(nextPageLink: string, callback: msRest.ServiceCallback<NetworkInterfaceListResult>): void
  • listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<NetworkInterfaceListResult>): void
  • Gets all network interfaces in a subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkInterfacesListAllNextResponse>

    Promise<Models.NetworkInterfacesListAllNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<NetworkInterfaceListResult>

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

      The callback

    Returns void

listEffectiveNetworkSecurityGroups

  • listEffectiveNetworkSecurityGroups(resourceGroupName: string, networkInterfaceName: string, options?: msRest.RequestOptionsBase): Promise<Models.NetworkInterfacesListEffectiveNetworkSecurityGroupsResponse>
  • Gets all network security groups applied to a network interface.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkInterfacesListEffectiveNetworkSecurityGroupsResponse>

    Promise<Models.NetworkInterfacesListEffectiveNetworkSecurityGroupsResponse>

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.NetworkInterfacesListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<NetworkInterfaceListResult>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<NetworkInterfaceListResult>): void
  • Gets all network interfaces in a resource group.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkInterfacesListNextResponse>

    Promise<Models.NetworkInterfacesListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<NetworkInterfaceListResult>

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

      The callback

    Returns void

updateTags

  • updateTags(resourceGroupName: string, networkInterfaceName: string, parameters: TagsObject, options?: msRest.RequestOptionsBase): Promise<Models.NetworkInterfacesUpdateTagsResponse>
  • Updates a network interface tags.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • networkInterfaceName: string

      The name of the network interface.

    • parameters: TagsObject

      Parameters supplied to update network interface tags.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.NetworkInterfacesUpdateTagsResponse>

    Promise<Models.NetworkInterfacesUpdateTagsResponse>

Generated using TypeDoc