Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Subnets

Package version

Class representing a Subnets.

Hierarchy

  • Subnets

Index

Constructors

constructor

Methods

beginCreateOrUpdate

  • beginCreateOrUpdate(resourceGroupName: string, virtualNetworkName: string, subnetName: string, subnetParameters: Subnet, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Creates or updates a subnet in the specified virtual network.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • virtualNetworkName: string

      The name of the virtual network.

    • subnetName: string

      The name of the subnet.

    • subnetParameters: Subnet

      Parameters supplied to the create or update subnet operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginDeleteMethod

  • beginDeleteMethod(resourceGroupName: string, virtualNetworkName: string, subnetName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Deletes the specified subnet.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • virtualNetworkName: string

      The name of the virtual network.

    • subnetName: string

      The name of the subnet.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, virtualNetworkName: string, subnetName: string, subnetParameters: Subnet, options?: msRest.RequestOptionsBase): Promise<Models.SubnetsCreateOrUpdateResponse>
  • Creates or updates a subnet in the specified virtual network.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • virtualNetworkName: string

      The name of the virtual network.

    • subnetName: string

      The name of the subnet.

    • subnetParameters: Subnet

      Parameters supplied to the create or update subnet operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.SubnetsCreateOrUpdateResponse>

    Promise<Models.SubnetsCreateOrUpdateResponse>

deleteMethod

  • deleteMethod(resourceGroupName: string, virtualNetworkName: string, subnetName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • Deletes the specified subnet.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • virtualNetworkName: string

      The name of the virtual network.

    • subnetName: string

      The name of the subnet.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

get

  • get(resourceGroupName: string, virtualNetworkName: string, subnetName: string, options?: Models.SubnetsGetOptionalParams): Promise<Models.SubnetsGetResponse>
  • get(resourceGroupName: string, virtualNetworkName: string, subnetName: string, callback: msRest.ServiceCallback<Subnet>): void
  • get(resourceGroupName: string, virtualNetworkName: string, subnetName: string, options: SubnetsGetOptionalParams, callback: msRest.ServiceCallback<Subnet>): void
  • Gets the specified subnet by virtual network and resource group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • virtualNetworkName: string

      The name of the virtual network.

    • subnetName: string

      The name of the subnet.

    • Optional options: Models.SubnetsGetOptionalParams

    Returns Promise<Models.SubnetsGetResponse>

    Promise<Models.SubnetsGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • virtualNetworkName: string

      The name of the virtual network.

    • subnetName: string

      The name of the subnet.

    • callback: msRest.ServiceCallback<Subnet>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • virtualNetworkName: string

      The name of the virtual network.

    • subnetName: string

      The name of the subnet.

    • options: SubnetsGetOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<Subnet>

      The callback

    Returns void

list

  • list(resourceGroupName: string, virtualNetworkName: string, options?: msRest.RequestOptionsBase): Promise<Models.SubnetsListResponse>
  • list(resourceGroupName: string, virtualNetworkName: string, callback: msRest.ServiceCallback<SubnetListResult>): void
  • list(resourceGroupName: string, virtualNetworkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<SubnetListResult>): void
  • Gets all subnets in a virtual network.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • virtualNetworkName: string

      The name of the virtual network.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.SubnetsListResponse>

    Promise<Models.SubnetsListResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • virtualNetworkName: string

      The name of the virtual network.

    • callback: msRest.ServiceCallback<SubnetListResult>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • virtualNetworkName: string

      The name of the virtual network.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<SubnetListResult>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.SubnetsListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<SubnetListResult>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<SubnetListResult>): void
  • Gets all subnets in a virtual network.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.SubnetsListNextResponse>

    Promise<Models.SubnetsListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<SubnetListResult>

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

      The callback

    Returns void

Generated using TypeDoc