Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -1,14 +1,39 @@
# Release History

## 1.1.0-beta.1 (Unreleased)
## 1.1.0-beta.1 (2026-06-09)

### Features Added
- Azure Resource Manager Artifact Signing client library for Java. This package contains Microsoft Azure SDK for Artifact Signing Management SDK. Code Signing resource provider api. Package api-version 2026-05-15-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Breaking Changes

### Bugs Fixed
#### `models.CertificateProfiles` was modified

* `revokeCertificate(java.lang.String,java.lang.String,java.lang.String,models.RevokeCertificate)` was removed
* `revokeCertificateWithResponse(java.lang.String,java.lang.String,java.lang.String,models.RevokeCertificate,com.azure.core.util.Context)` was removed

#### `models.CertificateProfile` was modified

* `revokeCertificateWithResponse(models.RevokeCertificate,com.azure.core.util.Context)` was removed
* `revokeCertificate(models.RevokeCertificate)` was removed

Comment thread
weidongxu-microsoft marked this conversation as resolved.
### Features Added

* `models.RevokeCertificateList` was added

#### `models.CertificateProfiles` was modified

* `revokeCertificatesWithResponse(java.lang.String,java.lang.String,java.lang.String,models.RevokeCertificateList,com.azure.core.util.Context)` was added
* `revokeCertificates(java.lang.String,java.lang.String,java.lang.String,models.RevokeCertificateList)` was added

#### `models.CertificateProfile` was modified

* `revokeCertificatesWithResponse(models.RevokeCertificateList,com.azure.core.util.Context)` was added
* `programType()` was added
* `revokeCertificates(models.RevokeCertificateList)` was added

#### `models.CertificateProfile$Definition` was modified

### Other Changes
* `withProgramType(java.lang.String)` was added

## 1.0.0 (2026-02-11)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager Artifact Signing client library for Java.

This package contains Microsoft Azure SDK for Artifact Signing Management SDK. Code Signing resource provider api. Package api-version 1.0.0. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for Artifact Signing Management SDK. Code Signing resource provider api. Package api-version 2026-05-15-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-artifactsigning</artifactId>
<version>1.0.0</version>
<version>1.1.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- [Delete](#certificateprofiles_delete)
- [Get](#certificateprofiles_get)
- [ListByCodeSigningAccount](#certificateprofiles_listbycodesigningaccount)
- [RevokeCertificate](#certificateprofiles_revokecertificate)
- [RevokeCertificates](#certificateprofiles_revokecertificates)

## CodeSigningAccounts

Expand All @@ -32,7 +32,7 @@ import com.azure.resourcemanager.artifactsigning.models.ProfileType;
*/
public final class CertificateProfilesCreateSamples {
/*
* x-ms-original-file: 2025-10-13/CertificateProfiles_Create.json
* x-ms-original-file: 2026-05-15-preview/CertificateProfiles_Create.json
*/
/**
* Sample code: Create a certificate profile.
Expand All @@ -48,6 +48,7 @@ public final class CertificateProfilesCreateSamples {
.withIncludeStreetAddress(false)
.withIncludePostalCode(true)
.withIdentityValidationId("00000000-1234-5678-3333-444444444444")
.withProgramType("test")
.create();
}
}
Expand All @@ -61,7 +62,7 @@ public final class CertificateProfilesCreateSamples {
*/
public final class CertificateProfilesDeleteSamples {
/*
* x-ms-original-file: 2025-10-13/CertificateProfiles_Delete.json
* x-ms-original-file: 2026-05-15-preview/CertificateProfiles_Delete.json
*/
/**
* Sample code: Delete a certificate profile.
Expand All @@ -84,7 +85,7 @@ public final class CertificateProfilesDeleteSamples {
*/
public final class CertificateProfilesGetSamples {
/*
* x-ms-original-file: 2025-10-13/CertificateProfiles_Get.json
* x-ms-original-file: 2026-05-15-preview/CertificateProfiles_Get.json
*/
/**
* Sample code: Get details of a certificate profile.
Expand All @@ -107,7 +108,7 @@ public final class CertificateProfilesGetSamples {
*/
public final class CertificateProfilesListByCodeSigningAccountSamples {
/*
* x-ms-original-file: 2025-10-13/CertificateProfiles_ListByCodeSigningAccount.json
* x-ms-original-file: 2026-05-15-preview/CertificateProfiles_ListByCodeSigningAccount.json
*/
/**
* Sample code: List certificate profiles under an artifact signing account.
Expand All @@ -122,33 +123,41 @@ public final class CertificateProfilesListByCodeSigningAccountSamples {
}
```

### CertificateProfiles_RevokeCertificate
### CertificateProfiles_RevokeCertificates

```java
import com.azure.resourcemanager.artifactsigning.models.RevokeCertificate;
import com.azure.resourcemanager.artifactsigning.models.RevokeCertificateList;
import java.time.OffsetDateTime;
import java.util.Arrays;

/**
* Samples for CertificateProfiles RevokeCertificate.
* Samples for CertificateProfiles RevokeCertificates.
*/
public final class CertificateProfilesRevokeCertificateSamples {
public final class CertificateProfilesRevokeCertificatesSamples {
/*
* x-ms-original-file: 2025-10-13/CertificateProfiles_RevokeCertificate.json
* x-ms-original-file: 2026-05-15-preview/CertificateProfiles_RevokeCertificates.json
*/
/**
* Sample code: Revoke a certificate under a certificate profile.
* Sample code: Revoke certificates under a certificate profile.
*
* @param manager Entry point to ArtifactSigningManager.
*/
public static void revokeACertificateUnderACertificateProfile(
public static void revokeCertificatesUnderACertificateProfile(
com.azure.resourcemanager.artifactsigning.ArtifactSigningManager manager) {
manager.certificateProfiles()
.revokeCertificateWithResponse("MyResourceGroup", "MyAccount", "profileA",
new RevokeCertificate().withSerialNumber("xxxxxxxxxxxxxxxxxx")
.withThumbprint("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
.withEffectiveAt(OffsetDateTime.parse("2023-11-12T23:40:25+00:00"))
.withReason("KeyCompromised")
.withRemarks("test"),
.revokeCertificatesWithResponse("MyResourceGroup", "MyAccount", "profileA",
new RevokeCertificateList().withRevokeCertificates(Arrays.asList(
new RevokeCertificate().withSerialNumber("xxxxxxxxxxxxxxxxxx")
.withThumbprint("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
.withEffectiveAt(OffsetDateTime.parse("2023-11-12T23:40:25+00:00"))
.withReason("KeyCompromised")
.withRemarks("test"),
new RevokeCertificate().withSerialNumber("yyyyyyyyyyyyyyyyyy")
.withThumbprint("yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy")
.withEffectiveAt(OffsetDateTime.parse("2023-11-12T23:40:25+00:00"))
.withReason("KeyCompromised")
.withRemarks("test"))),
com.azure.core.util.Context.NONE);
}
}
Expand All @@ -164,7 +173,7 @@ import com.azure.resourcemanager.artifactsigning.models.CheckNameAvailability;
*/
public final class CodeSigningAccountsCheckNameAvailabilitySamples {
/*
* x-ms-original-file: 2025-10-13/CodeSigningAccounts_CheckNameAvailability.json
* x-ms-original-file: 2026-05-15-preview/CodeSigningAccounts_CheckNameAvailability.json
*/
/**
* Sample code: Checks if the artifact signing account name is available.
Expand Down Expand Up @@ -193,7 +202,7 @@ import com.azure.resourcemanager.artifactsigning.models.SkuName;
*/
public final class CodeSigningAccountsCreateSamples {
/*
* x-ms-original-file: 2025-10-13/CodeSigningAccounts_Create.json
* x-ms-original-file: 2026-05-15-preview/CodeSigningAccounts_Create.json
*/
/**
* Sample code: Create an artifact signing account.
Expand All @@ -220,7 +229,7 @@ public final class CodeSigningAccountsCreateSamples {
*/
public final class CodeSigningAccountsDeleteSamples {
/*
* x-ms-original-file: 2025-10-13/CodeSigningAccounts_Delete.json
* x-ms-original-file: 2026-05-15-preview/CodeSigningAccounts_Delete.json
*/
/**
* Sample code: Delete an artifact signing account.
Expand All @@ -242,7 +251,7 @@ public final class CodeSigningAccountsDeleteSamples {
*/
public final class CodeSigningAccountsGetByResourceGroupSamples {
/*
* x-ms-original-file: 2025-10-13/CodeSigningAccounts_Get.json
* x-ms-original-file: 2026-05-15-preview/CodeSigningAccounts_Get.json
*/
/**
* Sample code: Get an artifact signing account.
Expand All @@ -265,7 +274,7 @@ public final class CodeSigningAccountsGetByResourceGroupSamples {
*/
public final class CodeSigningAccountsListSamples {
/*
* x-ms-original-file: 2025-10-13/CodeSigningAccounts_ListBySubscription.json
* x-ms-original-file: 2026-05-15-preview/CodeSigningAccounts_ListBySubscription.json
*/
/**
* Sample code: Lists artifact signing accounts within a subscription.
Expand All @@ -287,7 +296,7 @@ public final class CodeSigningAccountsListSamples {
*/
public final class CodeSigningAccountsListByResourceGroupSamples {
/*
* x-ms-original-file: 2025-10-13/CodeSigningAccounts_ListByResourceGroup.json
* x-ms-original-file: 2026-05-15-preview/CodeSigningAccounts_ListByResourceGroup.json
*/
/**
* Sample code: Lists artifact signing accounts within a resource group.
Expand All @@ -313,7 +322,7 @@ import java.util.Map;
*/
public final class CodeSigningAccountsUpdateSamples {
/*
* x-ms-original-file: 2025-10-13/CodeSigningAccounts_Update.json
* x-ms-original-file: 2026-05-15-preview/CodeSigningAccounts_Update.json
*/
/**
* Sample code: Update an artifact signing account.
Expand Down Expand Up @@ -350,7 +359,7 @@ public final class CodeSigningAccountsUpdateSamples {
*/
public final class OperationsListSamples {
/*
* x-ms-original-file: 2025-10-13/Operations_List.json
* x-ms-original-file: 2026-05-15-preview/Operations_List.json
*/
/**
* Sample code: List artifact signing account operations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) TypeSpec Code Generator.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.azure</groupId>
Expand All @@ -18,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Artifact Signing Management</name>
<description>This package contains Microsoft Azure SDK for Artifact Signing Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Code Signing resource provider api. Package api-version 1.0.0.</description>
<description>This package contains Microsoft Azure SDK for Artifact Signing Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Code Signing resource provider api. Package api-version 2026-05-15-preview.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -45,6 +45,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.artifactsigning.fluent.models.CertificateProfileInner;
import com.azure.resourcemanager.artifactsigning.models.RevokeCertificate;
import com.azure.resourcemanager.artifactsigning.models.RevokeCertificateList;

/**
* An instance of this class provides access to all the operations defined in CertificateProfilesClient.
Expand Down Expand Up @@ -200,33 +200,34 @@ PagedIterable<CertificateProfileInner> listByCodeSigningAccount(String resourceG
Context context);

/**
* Revoke a certificate under a certificate profile.
* Revokes certificates under a certificate profile.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Artifact Signing account name.
* @param profileName Certificate profile name.
* @param body Parameters to revoke the certificate profile.
* @param body Parameters to revoke the certificates in the certificate profile.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> revokeCertificateWithResponse(String resourceGroupName, String accountName, String profileName,
RevokeCertificate body, Context context);
Response<Void> revokeCertificatesWithResponse(String resourceGroupName, String accountName, String profileName,
Comment thread
weidongxu-microsoft marked this conversation as resolved.
RevokeCertificateList body, Context context);

/**
* Revoke a certificate under a certificate profile.
* Revokes certificates under a certificate profile.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Artifact Signing account name.
* @param profileName Certificate profile name.
* @param body Parameters to revoke the certificate profile.
* @param body Parameters to revoke the certificates in the certificate profile.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void revokeCertificate(String resourceGroupName, String accountName, String profileName, RevokeCertificate body);
void revokeCertificates(String resourceGroupName, String accountName, String profileName,
RevokeCertificateList body);
}
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,29 @@ public CertificateProfileInner withIdentityValidationId(String identityValidatio
return this;
}

/**
* Get the programType property: Indicates whether the resource is intended for a specific usage scenario.
*
* @return the programType value.
*/
public String programType() {
return this.innerProperties() == null ? null : this.innerProperties().programType();
}

/**
* Set the programType property: Indicates whether the resource is intended for a specific usage scenario.
*
* @param programType the programType value to set.
* @return the CertificateProfileInner object itself.
*/
public CertificateProfileInner withProgramType(String programType) {
if (this.innerProperties() == null) {
this.innerProperties = new CertificateProfileProperties();
}
this.innerProperties().withProgramType(programType);
return this;
}

/**
* Get the provisioningState property: Status of the current operation on certificate profile.
*
Expand Down
Loading