Share via


StaticSiteBasicAuthPropertyCollection Class

Definition

A class representing a collection of StaticSiteBasicAuthPropertyResource and their operations. Each StaticSiteBasicAuthPropertyResource in the collection will belong to the same instance of StaticSiteResource. To get a StaticSiteBasicAuthPropertyCollection instance call the GetStaticSiteBasicAuthProperties method from an instance of StaticSiteResource.

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

Constructors

StaticSiteBasicAuthPropertyCollection()

Initializes a new instance of the StaticSiteBasicAuthPropertyCollection 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, StaticSiteBasicAuthName, StaticSiteBasicAuthPropertyData, CancellationToken)

Description for Adds or updates basic auth for a static site.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}
  • Operation Id: StaticSites_CreateOrUpdateBasicAuth
  • Default Api Version: 2023-12-01
  • Resource: StaticSiteBasicAuthPropertyResource
CreateOrUpdateAsync(WaitUntil, StaticSiteBasicAuthName, StaticSiteBasicAuthPropertyData, CancellationToken)

Description for Adds or updates basic auth for a static site.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}
  • Operation Id: StaticSites_CreateOrUpdateBasicAuth
  • Default Api Version: 2023-12-01
  • Resource: StaticSiteBasicAuthPropertyResource
Exists(StaticSiteBasicAuthName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}
  • Operation Id: StaticSites_GetBasicAuth
  • Default Api Version: 2023-12-01
  • Resource: StaticSiteBasicAuthPropertyResource
ExistsAsync(StaticSiteBasicAuthName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}
  • Operation Id: StaticSites_GetBasicAuth
  • Default Api Version: 2023-12-01
  • Resource: StaticSiteBasicAuthPropertyResource
Get(StaticSiteBasicAuthName, CancellationToken)

Description for Gets the basic auth properties for a static site.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}
  • Operation Id: StaticSites_GetBasicAuth
  • Default Api Version: 2023-12-01
  • Resource: StaticSiteBasicAuthPropertyResource
GetAll(CancellationToken)

Description for Gets the basic auth properties for a static site as a collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth
  • Operation Id: StaticSites_ListBasicAuth
  • Default Api Version: 2023-12-01
  • Resource: StaticSiteBasicAuthPropertyResource
GetAllAsync(CancellationToken)

Description for Gets the basic auth properties for a static site as a collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth
  • Operation Id: StaticSites_ListBasicAuth
  • Default Api Version: 2023-12-01
  • Resource: StaticSiteBasicAuthPropertyResource
GetAsync(StaticSiteBasicAuthName, CancellationToken)

Description for Gets the basic auth properties for a static site.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}
  • Operation Id: StaticSites_GetBasicAuth
  • Default Api Version: 2023-12-01
  • Resource: StaticSiteBasicAuthPropertyResource
GetIfExists(StaticSiteBasicAuthName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}
  • Operation Id: StaticSites_GetBasicAuth
  • Default Api Version: 2023-12-01
  • Resource: StaticSiteBasicAuthPropertyResource
GetIfExistsAsync(StaticSiteBasicAuthName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/basicAuth/{basicAuthName}
  • Operation Id: StaticSites_GetBasicAuth
  • Default Api Version: 2023-12-01
  • Resource: StaticSiteBasicAuthPropertyResource
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<StaticSiteBasicAuthPropertyResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<StaticSiteBasicAuthPropertyResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to