Skip to content

Commit

Permalink
mgmt, update Azure Kubernetes Fleet Manager to 2023-06-15-preview (#3…
Browse files Browse the repository at this point in the history
…6765)

mgmt, update Azure Kubernetes Fleet Manager to 2023-06-15-preview
  • Loading branch information
v-hongli1 authored Sep 14, 2023
1 parent ef7c84e commit 145bc3e
Show file tree
Hide file tree
Showing 103 changed files with 2,371 additions and 324 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,71 @@
# Release History

## 1.0.0-beta.2 (Unreleased)
## 1.0.0-beta.2 (2023-09-14)

### Features Added
- Azure Resource Manager ContainerServiceFleet client library for Java. This package contains Microsoft Azure SDK for ContainerServiceFleet Management SDK. Azure Kubernetes Fleet Manager Client. Package tag package-2023-06-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.UpdateRun` was modified

* `systemData()` was removed

### Features Added

* `models.ApiServerAccessProfile` was added

* `models.UserAssignedIdentity` was added

* `models.AgentProfile` was added

* `models.ManagedServiceIdentity` was added

* `models.NodeImageSelection` was added

* `models.NodeImageSelectionStatus` was added

* `models.NodeImageVersion` was added

* `models.ManagedServiceIdentityType` was added

* `models.NodeImageSelectionType` was added

#### `models.FleetPatch` was modified

* `withIdentity(models.ManagedServiceIdentity)` was added
* `identity()` was added

#### `models.Fleet` was modified

* `identity()` was added

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

* `withIdentity(models.ManagedServiceIdentity)` was added

#### `models.FleetHubProfile` was modified

* `agentProfile()` was added
* `apiServerAccessProfile()` was added
* `withAgentProfile(models.AgentProfile)` was added
* `withApiServerAccessProfile(models.ApiServerAccessProfile)` was added

#### `models.MemberUpdateStatus` was modified

* `message()` was added

#### `models.ManagedClusterUpdate` was modified

* `withNodeImageSelection(models.NodeImageSelection)` was added
* `nodeImageSelection()` was added

#### `models.Fleet$Update` was modified

* `withIdentity(models.ManagedServiceIdentity)` was added

#### `models.UpdateRunStatus` was modified

### Other Changes
* `nodeImageSelection()` was added

## 1.0.0-beta.1 (2023-06-21)

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

Azure Resource Manager ContainerServiceFleet client library for Java.

This package contains Microsoft Azure SDK for ContainerServiceFleet Management SDK. Azure Kubernetes Fleet Manager Client. Package tag package-2023-03-preview. 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 ContainerServiceFleet Management SDK. Azure Kubernetes Fleet Manager Client. Package tag package-2023-06-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-containerservicefleet</artifactId>
<version>1.0.0-beta.1</version>
<version>1.0.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -103,3 +103,5 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fcontainerservicefleet%2Fazure-resourcemanager-containerservicefleet%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/** Samples for FleetMembers Create. */
public final class FleetMembersCreateSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/FleetMembers_Create.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/FleetMembers_Create.json
*/
/**
* Sample code: Creates a FleetMember resource with a long running operation.
Expand All @@ -63,7 +63,7 @@ public final class FleetMembersCreateSamples {
/** Samples for FleetMembers Delete. */
public final class FleetMembersDeleteSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/FleetMembers_Delete.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/FleetMembers_Delete.json
*/
/**
* Sample code: Deletes a FleetMember resource asynchronously with a long running operation.
Expand All @@ -83,7 +83,7 @@ public final class FleetMembersDeleteSamples {
/** Samples for FleetMembers Get. */
public final class FleetMembersGetSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/FleetMembers_Get.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/FleetMembers_Get.json
*/
/**
* Sample code: Gets a FleetMember resource.
Expand All @@ -103,7 +103,7 @@ public final class FleetMembersGetSamples {
/** Samples for FleetMembers ListByFleet. */
public final class FleetMembersListByFleetSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/FleetMembers_ListByFleet.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/FleetMembers_ListByFleet.json
*/
/**
* Sample code: Lists the members of a Fleet.
Expand All @@ -125,7 +125,7 @@ import com.azure.resourcemanager.containerservicefleet.models.FleetMember;
/** Samples for FleetMembers Update. */
public final class FleetMembersUpdateSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/FleetMembers_Update.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/FleetMembers_Update.json
*/
/**
* Sample code: Updates a FleetMember resource synchronously.
Expand Down Expand Up @@ -154,7 +154,7 @@ import java.util.Map;
/** Samples for Fleets CreateOrUpdate. */
public final class FleetsCreateOrUpdateSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/Fleets_CreateOrUpdate.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/Fleets_CreateOrUpdate.json
*/
/**
* Sample code: Creates a Fleet resource with a long running operation.
Expand All @@ -173,6 +173,7 @@ public final class FleetsCreateOrUpdateSamples {
.create();
}

// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
Expand All @@ -192,7 +193,7 @@ public final class FleetsCreateOrUpdateSamples {
/** Samples for Fleets Delete. */
public final class FleetsDeleteSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/Fleets_Delete.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/Fleets_Delete.json
*/
/**
* Sample code: Deletes a Fleet resource asynchronously with a long running operation.
Expand All @@ -212,7 +213,7 @@ public final class FleetsDeleteSamples {
/** Samples for Fleets GetByResourceGroup. */
public final class FleetsGetByResourceGroupSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/Fleets_Get.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/Fleets_Get.json
*/
/**
* Sample code: Gets a Fleet resource.
Expand All @@ -232,7 +233,7 @@ public final class FleetsGetByResourceGroupSamples {
/** Samples for Fleets List. */
public final class FleetsListSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/Fleets_ListBySub.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/Fleets_ListBySub.json
*/
/**
* Sample code: Lists the Fleet resources in a subscription.
Expand All @@ -252,7 +253,7 @@ public final class FleetsListSamples {
/** Samples for Fleets ListByResourceGroup. */
public final class FleetsListByResourceGroupSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/Fleets_ListByResourceGroup.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/Fleets_ListByResourceGroup.json
*/
/**
* Sample code: Lists the Fleet resources in a resource group.
Expand All @@ -272,7 +273,7 @@ public final class FleetsListByResourceGroupSamples {
/** Samples for Fleets ListCredentials. */
public final class FleetsListCredentialsSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/Fleets_ListCredentialsResult.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/Fleets_ListCredentialsResult.json
*/
/**
* Sample code: Lists the user credentials of a Fleet.
Expand All @@ -296,7 +297,7 @@ import java.util.Map;
/** Samples for Fleets Update. */
public final class FleetsUpdateSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/Fleets_PatchTags.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/Fleets_PatchTags.json
*/
/**
* Sample code: Update a Fleet.
Expand All @@ -313,6 +314,7 @@ public final class FleetsUpdateSamples {
resource.update().withTags(mapOf("env", "prod", "tier", "secure")).withIfMatch("dfjkwelr7384").apply();
}

// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
Expand All @@ -332,7 +334,7 @@ public final class FleetsUpdateSamples {
/** Samples for Operations List. */
public final class OperationsListSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/Operations_List.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/Operations_List.json
*/
/**
* Sample code: List the operations for the provider.
Expand All @@ -352,6 +354,8 @@ public final class OperationsListSamples {
import com.azure.resourcemanager.containerservicefleet.models.ManagedClusterUpdate;
import com.azure.resourcemanager.containerservicefleet.models.ManagedClusterUpgradeSpec;
import com.azure.resourcemanager.containerservicefleet.models.ManagedClusterUpgradeType;
import com.azure.resourcemanager.containerservicefleet.models.NodeImageSelection;
import com.azure.resourcemanager.containerservicefleet.models.NodeImageSelectionType;
import com.azure.resourcemanager.containerservicefleet.models.UpdateGroup;
import com.azure.resourcemanager.containerservicefleet.models.UpdateRunStrategy;
import com.azure.resourcemanager.containerservicefleet.models.UpdateStage;
Expand All @@ -360,7 +364,7 @@ import java.util.Arrays;
/** Samples for UpdateRuns CreateOrUpdate. */
public final class UpdateRunsCreateOrUpdateSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/UpdateRuns_CreateOrUpdate.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/UpdateRuns_CreateOrUpdate.json
*/
/**
* Sample code: Create an UpdateRun.
Expand All @@ -387,7 +391,8 @@ public final class UpdateRunsCreateOrUpdateSamples {
.withUpgrade(
new ManagedClusterUpgradeSpec()
.withType(ManagedClusterUpgradeType.FULL)
.withKubernetesVersion("1.26.1")))
.withKubernetesVersion("1.26.1"))
.withNodeImageSelection(new NodeImageSelection().withType(NodeImageSelectionType.LATEST)))
.create();
}
}
Expand All @@ -399,7 +404,7 @@ public final class UpdateRunsCreateOrUpdateSamples {
/** Samples for UpdateRuns Delete. */
public final class UpdateRunsDeleteSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/UpdateRuns_Delete.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/UpdateRuns_Delete.json
*/
/**
* Sample code: Delete an updateRun resource.
Expand All @@ -419,7 +424,7 @@ public final class UpdateRunsDeleteSamples {
/** Samples for UpdateRuns Get. */
public final class UpdateRunsGetSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/UpdateRuns_Get.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/UpdateRuns_Get.json
*/
/**
* Sample code: Gets an UpdateRun resource.
Expand All @@ -439,7 +444,7 @@ public final class UpdateRunsGetSamples {
/** Samples for UpdateRuns ListByFleet. */
public final class UpdateRunsListByFleetSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/UpdateRuns_ListByFleet.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/UpdateRuns_ListByFleet.json
*/
/**
* Sample code: Lists the UpdateRun resources by fleet.
Expand All @@ -459,7 +464,7 @@ public final class UpdateRunsListByFleetSamples {
/** Samples for UpdateRuns Start. */
public final class UpdateRunsStartSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/UpdateRuns_Start.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/UpdateRuns_Start.json
*/
/**
* Sample code: Starts an UpdateRun.
Expand All @@ -479,7 +484,7 @@ public final class UpdateRunsStartSamples {
/** Samples for UpdateRuns Stop. */
public final class UpdateRunsStopSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/examples/UpdateRuns_Stop.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/examples/UpdateRuns_Stop.json
*/
/**
* Sample code: Stops an UpdateRun.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for ContainerServiceFleet Management</name>
<description>This package contains Microsoft Azure SDK for ContainerServiceFleet Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Kubernetes Fleet Manager Client. Package tag package-2023-03-preview.</description>
<description>This package contains Microsoft Azure SDK for ContainerServiceFleet Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Kubernetes Fleet Manager Client. Package tag package-2023-06-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 @@ -216,7 +216,7 @@ public ContainerServiceFleetManager authenticate(TokenCredential credential, Azu
.append("-")
.append("com.azure.resourcemanager.containerservicefleet")
.append("/")
.append("1.0.0-beta.1");
.append("1.0.0-beta.2");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -322,8 +322,10 @@ public UpdateRuns updateRuns() {
}

/**
* @return Wrapped service client ContainerServiceFleetManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
* Gets wrapped service client ContainerServiceFleetManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
*
* @return Wrapped service client ContainerServiceFleetManagementClient.
*/
public ContainerServiceFleetManagementClient serviceClient() {
return this.clientObject;
Expand Down
Loading

0 comments on commit 145bc3e

Please sign in to comment.