WebSiteOperationsExtensions.GeneratePassword メソッド (IWebSiteOperations, String, String)
HTTP POST 要求を発行して、サイトをパブリッシュするための新しいランダムなパスワードを生成できます。 ヒント:パブリッシュ用のパスワードが変更されたことを確認する場合は、/newpassword を呼び出す前に/publishxml に HTTP GET を発行します。 [XML の発行、userPWD 属性のハッシュ値に注意してください。 /Newpassword を呼び出した後に、/publishxml 関数を再度呼び出します。 UserPWD 前にメモした 1 つで、パブリッシュ用 XML 内の新しい値を比較できます。 (詳細については https://msdn.microsoft.com/en-us/library/windowsazure/dn236428.aspx を参照してください)
名前空間: Microsoft.WindowsAzure
アセンブリ: Microsoft.WindowsAzure.Management.WebSites (Microsoft.WindowsAzure.Management.WebSites.dll 内)
構文
public static OperationResponse GeneratePassword(
this IWebSiteOperations operations,
string webSpaceName,
string webSiteName
)
public:
[ExtensionAttribute]
static OperationResponse^ GeneratePassword(
IWebSiteOperations^ operations,
String^ webSpaceName,
String^ webSiteName
)
static member GeneratePassword :
operations:IWebSiteOperations *
webSpaceName:string *
webSiteName:string -> OperationResponse
<ExtensionAttribute>
Public Shared Function GeneratePassword (
operations As IWebSiteOperations,
webSpaceName As String,
webSiteName As String
) As OperationResponse
パラメーター
operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperationsMicrosoft.WindowsAzure.Management.WebSites.IWebSiteOperations への参照。
webSpaceName
Type: System.String必須です。 Web スペースの名前。
webSiteName
Type: System.String必須です。 Web サイトの名前です。
戻り値
Type: Microsoft.WindowsAzure.OperationResponse
HTTP ステータス コードと要求 ID を含む標準のサービスの応答。
参照
WebSiteOperationsExtensions クラス
Microsoft.WindowsAzure 名前空間
トップに戻る