Share via


SiteSlotSiteContainerCollection Class

Definition

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

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

Constructors

SiteSlotSiteContainerCollection()

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

Creates or Updates a site container for a site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers/{containerName}
  • Operation Id: WebApps_CreateOrUpdateSiteContainerSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotSiteContainerResource
CreateOrUpdateAsync(WaitUntil, String, SiteContainerData, CancellationToken)

Creates or Updates a site container for a site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers/{containerName}
  • Operation Id: WebApps_CreateOrUpdateSiteContainerSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotSiteContainerResource
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}/sitecontainers/{containerName}
  • Operation Id: WebApps_GetSiteContainerSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotSiteContainerResource
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}/sitecontainers/{containerName}
  • Operation Id: WebApps_GetSiteContainerSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotSiteContainerResource
Get(String, CancellationToken)

Gets a site container of a site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers/{containerName}
  • Operation Id: WebApps_GetSiteContainerSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotSiteContainerResource
GetAll(CancellationToken)

Lists all the site containers of a site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers
  • Operation Id: WebApps_ListSiteContainersSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotSiteContainerResource
GetAllAsync(CancellationToken)

Lists all the site containers of a site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers
  • Operation Id: WebApps_ListSiteContainersSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotSiteContainerResource
GetAsync(String, CancellationToken)

Gets a site container of a site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sitecontainers/{containerName}
  • Operation Id: WebApps_GetSiteContainerSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotSiteContainerResource
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}/sitecontainers/{containerName}
  • Operation Id: WebApps_GetSiteContainerSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotSiteContainerResource
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}/sitecontainers/{containerName}
  • Operation Id: WebApps_GetSiteContainerSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotSiteContainerResource
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<SiteSlotSiteContainerResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteSlotSiteContainerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to