Share via


SiteSlotHostNameBindingCollection Class

Definition

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

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

Constructors

SiteSlotHostNameBindingCollection()

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

Description for Creates a hostname binding for an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}
  • Operation Id: WebApps_CreateOrUpdateHostNameBindingSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotHostNameBindingResource
CreateOrUpdateAsync(WaitUntil, String, HostNameBindingData, CancellationToken)

Description for Creates a hostname binding for an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}
  • Operation Id: WebApps_CreateOrUpdateHostNameBindingSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotHostNameBindingResource
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}/hostNameBindings/{hostName}
  • Operation Id: WebApps_GetHostNameBindingSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotHostNameBindingResource
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}/hostNameBindings/{hostName}
  • Operation Id: WebApps_GetHostNameBindingSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotHostNameBindingResource
Get(String, CancellationToken)

Description for Get the named hostname binding for an app (or deployment slot, if specified).

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}
  • Operation Id: WebApps_GetHostNameBindingSlot
  • Default Api Version: 2023-12-01
  • Resource: SiteSlotHostNameBindingResource
GetAll(CancellationToken)

Description for Get hostname bindings for an app or a deployment slot.

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

Description for Get hostname bindings for an app or a deployment slot.

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

Description for Get the named hostname binding for an app (or deployment slot, if specified).

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteSlotHostNameBindingResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to