共用方式為


SiteDeploymentCollection Class

Definition

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

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

Constructors

SiteDeploymentCollection()

Initializes a new instance of the SiteDeploymentCollection 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, WebAppDeploymentData, CancellationToken)

Description for Create a deployment for an app, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}
  • Operation Id: WebApps_CreateDeployment
  • Default Api Version: 2023-12-01
  • Resource: SiteDeploymentResource
CreateOrUpdateAsync(WaitUntil, String, WebAppDeploymentData, CancellationToken)

Description for Create a deployment for an app, or a deployment slot.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Description for Get a deployment by its ID for an app, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}
  • Operation Id: WebApps_GetDeployment
  • Default Api Version: 2023-12-01
  • Resource: SiteDeploymentResource
GetAll(CancellationToken)

Description for List deployments for an app, or a deployment slot.

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

Description for List deployments for an app, or a deployment slot.

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

Description for Get a deployment by its ID for an app, or a deployment slot.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteDeploymentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to