次の方法で共有


IDpsCertificateOperations.GenerateVerificationCodeWithHttpMessagesAsync メソッド

定義

所有証明の確認コードを生成します。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DeviceProvisioningServices.Models.VerificationCodeResponse>> GenerateVerificationCodeWithHttpMessagesAsync(string certificateName, string ifMatch, string resourceGroupName, string provisioningServiceName, string certificatename = default, byte[] certificaterawBytes = default, bool? certificateisVerified = default, string certificatepurpose = default, DateTime? certificatecreated = default, DateTime? certificatelastUpdated = default, bool? certificatehasPrivateKey = default, string certificatenonce = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateVerificationCodeWithHttpMessagesAsync : string * string * string * string * string * byte[] * Nullable<bool> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DeviceProvisioningServices.Models.VerificationCodeResponse>>

パラメーター

certificateName
String

プロビジョニング サービスがアクセスに使用する証明書の必須の論理名。

ifMatch
String

証明書の ETag。 これは、既存の証明書を更新するために必要であり、まったく新しい証明書の作成時に無視されます。

resourceGroupName
String

リソース グループの名前。

provisioningServiceName
String

プロビジョニング サービスの名前。

certificatename
String

証明書の共通名。

certificaterawBytes
Byte[]

証明書の生データ。

certificateisVerified
Nullable<Boolean>

証明書が秘密キーの所有者によって検証されているかどうかを示します。

certificatepurpose
String

証明書の目的に関する説明。 使用可能な値は、'clientAuthentication'、'serverAuthentication' です。

certificatecreated
Nullable<DateTime>

証明書の作成時刻。

certificatelastUpdated
Nullable<DateTime>

証明書の最終更新時刻。

certificatehasPrivateKey
Nullable<Boolean>

証明書に秘密キーが含まれているかどうかを示します。

certificatenonce
String

所有証明を示すために生成された乱数。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

適用対象