共用方式為


AppServicePlanVirtualNetworkConnectionCollection Class

Definition

A class representing a collection of AppServicePlanVirtualNetworkConnectionResource and their operations. Each AppServicePlanVirtualNetworkConnectionResource in the collection will belong to the same instance of AppServicePlanResource. To get an AppServicePlanVirtualNetworkConnectionCollection instance call the GetAppServicePlanVirtualNetworkConnections method from an instance of AppServicePlanResource.

public class AppServicePlanVirtualNetworkConnectionCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.AppService.AppServicePlanVirtualNetworkConnectionResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.AppServicePlanVirtualNetworkConnectionResource>
type AppServicePlanVirtualNetworkConnectionCollection = class
    inherit ArmCollection
    interface seq<AppServicePlanVirtualNetworkConnectionResource>
    interface IEnumerable
    interface IAsyncEnumerable<AppServicePlanVirtualNetworkConnectionResource>
Public Class AppServicePlanVirtualNetworkConnectionCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of AppServicePlanVirtualNetworkConnectionResource), IEnumerable(Of AppServicePlanVirtualNetworkConnectionResource)
Inheritance
AppServicePlanVirtualNetworkConnectionCollection
Implements

Constructors

AppServicePlanVirtualNetworkConnectionCollection()

Initializes a new instance of the AppServicePlanVirtualNetworkConnectionCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: AppServicePlans_GetVnetFromServerFarm
  • Default Api Version: 2024-04-01
  • Resource: AppServicePlanVirtualNetworkConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: AppServicePlans_GetVnetFromServerFarm
  • Default Api Version: 2024-04-01
  • Resource: AppServicePlanVirtualNetworkConnectionResource
Get(String, CancellationToken)

Description for Get a Virtual Network associated with an App Service plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: AppServicePlans_GetVnetFromServerFarm
  • Default Api Version: 2024-04-01
  • Resource: AppServicePlanVirtualNetworkConnectionResource
GetAll(CancellationToken)

Description for Get all Virtual Networks associated with an App Service plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections
  • Operation Id: AppServicePlans_ListVnets
  • Default Api Version: 2024-04-01
  • Resource: AppServicePlanVirtualNetworkConnectionResource
GetAllAsync(CancellationToken)

Description for Get all Virtual Networks associated with an App Service plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections
  • Operation Id: AppServicePlans_ListVnets
  • Default Api Version: 2024-04-01
  • Resource: AppServicePlanVirtualNetworkConnectionResource
GetAsync(String, CancellationToken)

Description for Get a Virtual Network associated with an App Service plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: AppServicePlans_GetVnetFromServerFarm
  • Default Api Version: 2024-04-01
  • Resource: AppServicePlanVirtualNetworkConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: AppServicePlans_GetVnetFromServerFarm
  • Default Api Version: 2024-04-01
  • Resource: AppServicePlanVirtualNetworkConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: AppServicePlans_GetVnetFromServerFarm
  • Default Api Version: 2024-04-01
  • Resource: AppServicePlanVirtualNetworkConnectionResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<AppServicePlanVirtualNetworkConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<AppServicePlanVirtualNetworkConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to