Sdílet prostřednictvím


SiteContainerCollection Class

Definition

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

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

Constructors

SiteContainerCollection()

Initializes a new instance of the SiteContainerCollection 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}/sitecontainers/{containerName}
  • Operation Id: WebApps_CreateOrUpdateSiteContainer
  • Default Api Version: 2023-12-01
  • Resource: SiteContainerResource
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}/sitecontainers/{containerName}
  • Operation Id: WebApps_CreateOrUpdateSiteContainer
  • Default Api Version: 2023-12-01
  • Resource: SiteContainerResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sitecontainers/{containerName}
  • Operation Id: WebApps_GetSiteContainer
  • Default Api Version: 2023-12-01
  • Resource: SiteContainerResource
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}/sitecontainers/{containerName}
  • Operation Id: WebApps_GetSiteContainer
  • Default Api Version: 2023-12-01
  • Resource: SiteContainerResource
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}/sitecontainers
  • Operation Id: WebApps_ListSiteContainers
  • Default Api Version: 2023-12-01
  • Resource: SiteContainerResource
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}/sitecontainers
  • Operation Id: WebApps_ListSiteContainers
  • Default Api Version: 2023-12-01
  • Resource: SiteContainerResource
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}/sitecontainers/{containerName}
  • Operation Id: WebApps_GetSiteContainer
  • Default Api Version: 2023-12-01
  • Resource: SiteContainerResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteContainerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to