다음을 통해 공유


SiteSlotVirtualNetworkConnectionCollection Class

Definition

A class representing a collection of SiteSlotVirtualNetworkConnectionResource and their operations. Each SiteSlotVirtualNetworkConnectionResource in the collection will belong to the same instance of WebSiteSlotResource. To get a SiteSlotVirtualNetworkConnectionCollection instance call the GetSiteSlotVirtualNetworkConnections method from an instance of WebSiteSlotResource.

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

Constructors

SiteSlotVirtualNetworkConnectionCollection()

Initializes a new instance of the SiteSlotVirtualNetworkConnectionCollection 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}/slots/{slot}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_CreateOrUpdateVnetConnectionSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotVirtualNetworkConnectionResource
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}/slots/{slot}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_CreateOrUpdateVnetConnectionSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotVirtualNetworkConnectionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_GetVnetConnectionSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotVirtualNetworkConnectionResource
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}/slots/{slot}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_GetVnetConnectionSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotVirtualNetworkConnectionResource
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}/slots/{slot}/virtualNetworkConnections
  • Operation Id: WebApps_ListVnetConnectionsSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotVirtualNetworkConnectionResource
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}/slots/{slot}/virtualNetworkConnections
  • Operation Id: WebApps_ListVnetConnectionsSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotVirtualNetworkConnectionResource
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}/slots/{slot}/virtualNetworkConnections/{vnetName}
  • Operation Id: WebApps_GetVnetConnectionSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotVirtualNetworkConnectionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteSlotVirtualNetworkConnectionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to