SiteSlotInstanceCollection Class

Definition

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

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

Constructors

SiteSlotInstanceCollection()

Initializes a new instance of the SiteSlotInstanceCollection 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/sites/{name}/slots/{slot}/instances/{instanceId}
  • Operation Id: WebApps_GetInstanceInfoSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotInstanceResource
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}/instances/{instanceId}
  • Operation Id: WebApps_GetInstanceInfoSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotInstanceResource
Get(String, CancellationToken)

Description for Gets all scale-out instances of an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}
  • Operation Id: WebApps_GetInstanceInfoSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotInstanceResource
GetAll(CancellationToken)

Description for Gets all scale-out instances of an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances
  • Operation Id: WebApps_ListInstanceIdentifiersSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotInstanceResource
GetAllAsync(CancellationToken)

Description for Gets all scale-out instances of an app.

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

Description for Gets all scale-out instances of an app.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteSlotInstanceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to