Udostępnij za pośrednictwem


SiteProcessCollection Class

Definition

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

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

Constructors

SiteProcessCollection()

Initializes a new instance of the SiteProcessCollection 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}/processes/{processId}
  • Operation Id: WebApps_GetProcess
  • Default Api Version: 2023-12-01
  • Resource: SiteProcessResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Description for Get process information by its ID for a specific scaled-out instance in a web site.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}
  • Operation Id: WebApps_GetProcess
  • Default Api Version: 2023-12-01
  • Resource: SiteProcessResource
GetAll(CancellationToken)

Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

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

Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.

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

Description for Get process information by its ID for a specific scaled-out instance in a web site.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteProcessResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to