Delen via


SiteVirtualNetworkConnectionCollection Class

Definition

A class representing a collection of SiteVirtualNetworkConnectionResource and their operations. Each SiteVirtualNetworkConnectionResource in the collection will belong to the same instance of WebSiteResource. To get a SiteVirtualNetworkConnectionCollection instance call the GetSiteVirtualNetworkConnections method from an instance of WebSiteResource.

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

Constructors

SiteVirtualNetworkConnectionCollection()

Initializes a new instance of the SiteVirtualNetworkConnectionCollection 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

CreateOrUpdate(WaitUntil, String, AppServiceVirtualNetworkData, CancellationToken)

Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_CreateOrUpdateVnetConnection
  • Default Api Version: 2023-12-01
  • Resource: SiteVirtualNetworkConnectionResource
CreateOrUpdateAsync(WaitUntil, String, AppServiceVirtualNetworkData, CancellationToken)

Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_CreateOrUpdateVnetConnection
  • Default Api Version: 2023-12-01
  • Resource: SiteVirtualNetworkConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_GetVnetConnection
  • Default Api Version: 2023-12-01
  • Resource: SiteVirtualNetworkConnectionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_GetVnetConnection
  • Default Api Version: 2023-12-01
  • Resource: SiteVirtualNetworkConnectionResource
Get(String, CancellationToken)

Description for Gets a virtual network the app (or deployment slot) is connected to by name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_GetVnetConnection
  • Default Api Version: 2023-12-01
  • Resource: SiteVirtualNetworkConnectionResource
GetAll(CancellationToken)

Description for Gets the virtual networks the app (or deployment slot) is connected to.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections
  • Operation Id: WebApps_ListVnetConnections
  • Default Api Version: 2023-12-01
  • Resource: SiteVirtualNetworkConnectionResource
GetAllAsync(CancellationToken)

Description for Gets the virtual networks the app (or deployment slot) is connected to.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections
  • Operation Id: WebApps_ListVnetConnections
  • Default Api Version: 2023-12-01
  • Resource: SiteVirtualNetworkConnectionResource
GetAsync(String, CancellationToken)

Description for Gets a virtual network the app (or deployment slot) is connected to by name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_GetVnetConnection
  • Default Api Version: 2023-12-01
  • Resource: SiteVirtualNetworkConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_GetVnetConnection
  • Default Api Version: 2023-12-01
  • Resource: SiteVirtualNetworkConnectionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_GetVnetConnection
  • Default Api Version: 2023-12-01
  • Resource: SiteVirtualNetworkConnectionResource
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<SiteVirtualNetworkConnectionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteVirtualNetworkConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to