英語で読む

次の方法で共有


WebAppsOperationsExtensions.GetHostNameBindingSlotAsync メソッド

定義

アプリの名前付きホスト名バインドを取得します (指定されている場合はデプロイ スロット)。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.HostNameBinding> GetHostNameBindingSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string slot, string hostName, System.Threading.CancellationToken cancellationToken = default);

パラメーター

operations
IWebAppsOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソースが属しているリソース グループの名前。

name
String

アプリの名前。

slot
String

デプロイ スロットの名前。 スロットが指定されていない場合、API は運用スロットの名前付きバインディングです。

hostName
String

ホスト名バインディング内のホスト名。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

アプリの名前付きホスト名バインドを取得する (または指定した場合はデプロイ スロット) の説明。

適用対象

製品 バージョン
Azure SDK for .NET Legacy