Share via


ComputeBatchModelFactory.BatchCertificateDeleteError Method

Definition

Initializes a new instance of BatchCertificateDeleteError.

public static Azure.Compute.Batch.BatchCertificateDeleteError BatchCertificateDeleteError(string code = default, string message = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.NameValuePair> values = default);
static member BatchCertificateDeleteError : string * string * seq<Azure.Compute.Batch.NameValuePair> -> Azure.Compute.Batch.BatchCertificateDeleteError
Public Shared Function BatchCertificateDeleteError (Optional code As String = Nothing, Optional message As String = Nothing, Optional values As IEnumerable(Of NameValuePair) = Nothing) As BatchCertificateDeleteError

Parameters

code
String

An identifier for the Certificate deletion error. Codes are invariant and are intended to be consumed programmatically.

message
String

A message describing the Certificate deletion error, intended to be suitable for display in a user interface.

values
IEnumerable<NameValuePair>

A list of additional error details related to the Certificate deletion error. This list includes details such as the active Pools and Compute Nodes referencing this Certificate. However, if a large number of resources reference the Certificate, the list contains only about the first hundred.

Returns

A new BatchCertificateDeleteError instance for mocking.

Applies to