共用方式為


SiteHostNameBindingCollection Class

Definition

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

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

Constructors

SiteHostNameBindingCollection()

Initializes a new instance of the SiteHostNameBindingCollection 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}/hostNameBindings/{hostName}
  • Operation Id: WebApps_CreateOrUpdateHostNameBinding
  • Default Api Version: 2024-04-01
  • Resource: SiteHostNameBindingResource
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}/hostNameBindings/{hostName}
  • Operation Id: WebApps_CreateOrUpdateHostNameBinding
  • Default Api Version: 2024-04-01
  • Resource: SiteHostNameBindingResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}
  • Operation Id: WebApps_GetHostNameBinding
  • Default Api Version: 2024-04-01
  • Resource: SiteHostNameBindingResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}
  • Operation Id: WebApps_GetHostNameBinding
  • Default Api Version: 2024-04-01
  • Resource: SiteHostNameBindingResource
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}/hostNameBindings/{hostName}
  • Operation Id: WebApps_GetHostNameBinding
  • Default Api Version: 2024-04-01
  • Resource: SiteHostNameBindingResource
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}/hostNameBindings
  • Operation Id: WebApps_ListHostNameBindings
  • Default Api Version: 2024-04-01
  • Resource: SiteHostNameBindingResource
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}/hostNameBindings
  • Operation Id: WebApps_ListHostNameBindings
  • Default Api Version: 2024-04-01
  • Resource: SiteHostNameBindingResource
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}/hostNameBindings/{hostName}
  • Operation Id: WebApps_GetHostNameBinding
  • Default Api Version: 2024-04-01
  • Resource: SiteHostNameBindingResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}
  • Operation Id: WebApps_GetHostNameBinding
  • Default Api Version: 2024-04-01
  • Resource: SiteHostNameBindingResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings/{hostName}
  • Operation Id: WebApps_GetHostNameBinding
  • Default Api Version: 2024-04-01
  • Resource: SiteHostNameBindingResource
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<SiteHostNameBindingResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteHostNameBindingResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to