Share via


SiteSlotDeploymentCollection Class

Definition

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

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

Constructors

SiteSlotDeploymentCollection()

Initializes a new instance of the SiteSlotDeploymentCollection 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}/slots/{slot}/deployments/{id}
  • Operation Id: WebApps_CreateDeploymentSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotDeploymentResource
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}/slots/{slot}/deployments/{id}
  • Operation Id: WebApps_CreateDeploymentSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotDeploymentResource
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}/deployments/{id}
  • Operation Id: WebApps_GetDeploymentSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotDeploymentResource
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}/deployments/{id}
  • Operation Id: WebApps_GetDeploymentSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotDeploymentResource
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}/slots/{slot}/deployments/{id}
  • Operation Id: WebApps_GetDeploymentSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotDeploymentResource
GetAll(CancellationToken)

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

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

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

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteSlotDeploymentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to