Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
528 changes: 524 additions & 4 deletions sdk/keyvault/azure-security-keyvault-certificates/CHANGELOG.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,7 @@ public PagedIterable<BinaryData> getCertificates(RequestOptions requestOptions)
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* recoveryId: String (Optional)
* scheduledPurgeDate: Long (Optional)
* deletedDate: Long (Optional)
Expand Down Expand Up @@ -1213,6 +1214,7 @@ public Mono<Response<BinaryData>> deleteCertificateWithResponseAsync(String cert
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* recoveryId: String (Optional)
* scheduledPurgeDate: Long (Optional)
* deletedDate: Long (Optional)
Expand Down Expand Up @@ -2279,6 +2281,7 @@ public Response<BinaryData> deleteCertificateIssuerWithResponse(String issuerNam
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand All @@ -2304,6 +2307,7 @@ public Response<BinaryData> deleteCertificateIssuerWithResponse(String issuerNam
* innererror (Optional): (recursive schema, see innererror above)
* }
* target: String (Optional)
* preserveCertOrder: Boolean (Optional)
* request_id: String (Optional)
* }
* }
Expand Down Expand Up @@ -2403,6 +2407,7 @@ public Mono<Response<BinaryData>> createCertificateWithResponseAsync(String cert
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand All @@ -2428,6 +2433,7 @@ public Mono<Response<BinaryData>> createCertificateWithResponseAsync(String cert
* innererror (Optional): (recursive schema, see innererror above)
* }
* target: String (Optional)
* preserveCertOrder: Boolean (Optional)
* request_id: String (Optional)
* }
* }
Expand Down Expand Up @@ -2529,6 +2535,7 @@ public Response<BinaryData> createCertificateWithResponse(String certificateName
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -2607,6 +2614,7 @@ public Response<BinaryData> createCertificateWithResponse(String certificateName
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -2709,6 +2717,7 @@ public Mono<Response<BinaryData>> importCertificateWithResponseAsync(String cert
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -2787,6 +2796,7 @@ public Mono<Response<BinaryData>> importCertificateWithResponseAsync(String cert
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -3661,6 +3671,7 @@ public Response<BinaryData> updateCertificatePolicyWithResponse(String certifica
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -3837,6 +3848,7 @@ public Mono<Response<BinaryData>> updateCertificateWithResponseAsync(String cert
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -3938,6 +3950,7 @@ public Response<BinaryData> updateCertificateWithResponse(String certificateName
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -4042,6 +4055,7 @@ public Mono<Response<BinaryData>> getCertificateWithResponseAsync(String certifi
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -4102,6 +4116,7 @@ public Response<BinaryData> getCertificateWithResponse(String certificateName, S
* innererror (Optional): (recursive schema, see innererror above)
* }
* target: String (Optional)
* preserveCertOrder: Boolean (Optional)
* request_id: String (Optional)
* }
* }
Expand Down Expand Up @@ -4163,6 +4178,7 @@ public Mono<Response<BinaryData>> updateCertificateOperationWithResponseAsync(St
* innererror (Optional): (recursive schema, see innererror above)
* }
* target: String (Optional)
* preserveCertOrder: Boolean (Optional)
* request_id: String (Optional)
* }
* }
Expand Down Expand Up @@ -4212,6 +4228,7 @@ public Response<BinaryData> updateCertificateOperationWithResponse(String certif
* innererror (Optional): (recursive schema, see innererror above)
* }
* target: String (Optional)
* preserveCertOrder: Boolean (Optional)
* request_id: String (Optional)
* }
* }
Expand Down Expand Up @@ -4262,6 +4279,7 @@ public Mono<Response<BinaryData>> getCertificateOperationWithResponseAsync(Strin
* innererror (Optional): (recursive schema, see innererror above)
* }
* target: String (Optional)
* preserveCertOrder: Boolean (Optional)
* request_id: String (Optional)
* }
* }
Expand Down Expand Up @@ -4311,6 +4329,7 @@ public Response<BinaryData> getCertificateOperationWithResponse(String certifica
* innererror (Optional): (recursive schema, see innererror above)
* }
* target: String (Optional)
* preserveCertOrder: Boolean (Optional)
* request_id: String (Optional)
* }
* }
Expand Down Expand Up @@ -4359,6 +4378,7 @@ public Mono<Response<BinaryData>> deleteCertificateOperationWithResponseAsync(St
* innererror (Optional): (recursive schema, see innererror above)
* }
* target: String (Optional)
* preserveCertOrder: Boolean (Optional)
* request_id: String (Optional)
* }
* }
Expand Down Expand Up @@ -4483,6 +4503,7 @@ public Response<BinaryData> deleteCertificateOperationWithResponse(String certif
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -4610,6 +4631,7 @@ public Mono<Response<BinaryData>> mergeCertificateWithResponseAsync(String certi
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -4783,6 +4805,7 @@ public Response<BinaryData> backupCertificateWithResponse(String certificateName
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -4894,6 +4917,7 @@ public Mono<Response<BinaryData>> restoreCertificateWithResponseAsync(BinaryData
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -5229,6 +5253,7 @@ public PagedIterable<BinaryData> getDeletedCertificates(RequestOptions requestOp
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* recoveryId: String (Optional)
* scheduledPurgeDate: Long (Optional)
* deletedDate: Long (Optional)
Expand Down Expand Up @@ -5333,6 +5358,7 @@ public Mono<Response<BinaryData>> getDeletedCertificateWithResponseAsync(String
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* recoveryId: String (Optional)
* scheduledPurgeDate: Long (Optional)
* deletedDate: Long (Optional)
Expand Down Expand Up @@ -5482,6 +5508,7 @@ public Response<Void> purgeDeletedCertificateWithResponse(String certificateName
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down Expand Up @@ -5583,6 +5610,7 @@ public Mono<Response<BinaryData>> recoverDeletedCertificateWithResponseAsync(Str
* tags (Optional): {
* String: String (Required)
* }
* preserveCertOrder: Boolean (Optional)
* }
* }
* </pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStringField("contentType", this.contentType);
jsonWriter.writeJsonField("attributes", this.attributes);
jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
jsonWriter.writeBooleanField("preserveCertOrder", this.preserveCertOrder);
return jsonWriter.writeEndObject();
}

Expand Down Expand Up @@ -224,11 +225,31 @@ public static CertificateBundle fromJson(JsonReader jsonReader) throws IOExcepti
} else if ("tags".equals(fieldName)) {
Map<String, String> tags = reader.readMap(reader1 -> reader1.getString());
deserializedCertificateBundle.tags = tags;
} else if ("preserveCertOrder".equals(fieldName)) {
deserializedCertificateBundle.preserveCertOrder = reader.getNullable(JsonReader::getBoolean);
} else {
reader.skipChildren();
}
}
return deserializedCertificateBundle;
});
}

/*
* Specifies whether the certificate chain preserves its original order. The default value is false, which sets the
* leaf certificate at index 0.
*/
@Generated
private Boolean preserveCertOrder;

/**
* Get the preserveCertOrder property: Specifies whether the certificate chain preserves its original order. The
* default value is false, which sets the leaf certificate at index 0.
*
* @return the preserveCertOrder value.
*/
@Generated
public Boolean isPreserveCertOrder() {
return this.preserveCertOrder;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeJsonField("policy", this.certificatePolicy);
jsonWriter.writeJsonField("attributes", this.certificateAttributes);
jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
jsonWriter.writeBooleanField("preserveCertOrder", this.preserveCertOrder);
return jsonWriter.writeEndObject();
}

Expand All @@ -145,11 +146,45 @@ public static CertificateCreateParameters fromJson(JsonReader jsonReader) throws
} else if ("tags".equals(fieldName)) {
Map<String, String> tags = reader.readMap(reader1 -> reader1.getString());
deserializedCertificateCreateParameters.tags = tags;
} else if ("preserveCertOrder".equals(fieldName)) {
deserializedCertificateCreateParameters.preserveCertOrder
= reader.getNullable(JsonReader::getBoolean);
} else {
reader.skipChildren();
}
}
return deserializedCertificateCreateParameters;
});
}

/*
* Specifies whether the certificate chain preserves its original order. The default value is false, which sets the
* leaf certificate at index 0.
*/
@Generated
private Boolean preserveCertOrder;

/**
* Get the preserveCertOrder property: Specifies whether the certificate chain preserves its original order. The
* default value is false, which sets the leaf certificate at index 0.
*
* @return the preserveCertOrder value.
*/
@Generated
public Boolean isPreserveCertOrder() {
return this.preserveCertOrder;
}

/**
* Set the preserveCertOrder property: Specifies whether the certificate chain preserves its original order. The
* default value is false, which sets the leaf certificate at index 0.
*
* @param preserveCertOrder the preserveCertOrder value to set.
* @return the CertificateCreateParameters object itself.
*/
@Generated
public CertificateCreateParameters setPreserveCertOrder(Boolean preserveCertOrder) {
this.preserveCertOrder = preserveCertOrder;
return this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeJsonField("policy", this.certificatePolicy);
jsonWriter.writeJsonField("attributes", this.certificateAttributes);
jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
jsonWriter.writeBooleanField("preserveCertOrder", this.preserveCertOrder);
return jsonWriter.writeEndObject();
}

Expand All @@ -192,6 +193,7 @@ public static CertificateImportParameters fromJson(JsonReader jsonReader) throws
CertificatePolicy certificatePolicy = null;
CertificateAttributes certificateAttributes = null;
Map<String, String> tags = null;
Boolean preserveCertOrder = null;
while (reader.nextToken() != JsonToken.END_OBJECT) {
String fieldName = reader.getFieldName();
reader.nextToken();
Expand All @@ -205,6 +207,8 @@ public static CertificateImportParameters fromJson(JsonReader jsonReader) throws
certificateAttributes = CertificateAttributes.fromJson(reader);
} else if ("tags".equals(fieldName)) {
tags = reader.readMap(reader1 -> reader1.getString());
} else if ("preserveCertOrder".equals(fieldName)) {
preserveCertOrder = reader.getNullable(JsonReader::getBoolean);
} else {
reader.skipChildren();
}
Expand All @@ -215,7 +219,39 @@ public static CertificateImportParameters fromJson(JsonReader jsonReader) throws
deserializedCertificateImportParameters.certificatePolicy = certificatePolicy;
deserializedCertificateImportParameters.certificateAttributes = certificateAttributes;
deserializedCertificateImportParameters.tags = tags;
deserializedCertificateImportParameters.preserveCertOrder = preserveCertOrder;
return deserializedCertificateImportParameters;
});
}

/*
* Specifies whether the certificate chain preserves its original order. The default value is false, which sets the
* leaf certificate at index 0.
*/
@Generated
private Boolean preserveCertOrder;

/**
* Get the preserveCertOrder property: Specifies whether the certificate chain preserves its original order. The
* default value is false, which sets the leaf certificate at index 0.
*
* @return the preserveCertOrder value.
*/
@Generated
public Boolean isPreserveCertOrder() {
return this.preserveCertOrder;
}

/**
* Set the preserveCertOrder property: Specifies whether the certificate chain preserves its original order. The
* default value is false, which sets the leaf certificate at index 0.
*
* @param preserveCertOrder the preserveCertOrder value to set.
* @return the CertificateImportParameters object itself.
*/
@Generated
public CertificateImportParameters setPreserveCertOrder(Boolean preserveCertOrder) {
this.preserveCertOrder = preserveCertOrder;
return this;
}
}
Loading