Skip to content

Commit

Permalink
CodeGen from PR 25131 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 053658ddf5661108933bd7c84288ccd0670cb561 into ffc2a737521f494b3e45960af120a8c73fdb29bd
  • Loading branch information
SDKAuto committed Aug 2, 2023
1 parent b789f8c commit 8a2ede1
Show file tree
Hide file tree
Showing 96 changed files with 1,362 additions and 2,154 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2023-08-02)

- 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).

### Features Added

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 Down Expand Up @@ -192,7 +192,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 +212,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 +232,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 +252,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 +272,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 +296,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 Down Expand Up @@ -332,7 +332,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 +352,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 +362,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 +389,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 +402,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 +422,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 +442,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 +462,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 +482,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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,22 @@ FleetMemberInner create(
String ifNoneMatch,
Context context);

/**
* Update a FleetMember.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
* @param properties The resource properties to be updated.
* @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 SyncPoller} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<FleetMemberInner>, FleetMemberInner> beginUpdate(
String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberUpdate properties);

/**
* Update a FleetMember.
*
Expand All @@ -167,10 +183,10 @@ FleetMemberInner create(
* @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 a member of the Fleet along with {@link Response}.
* @return the {@link SyncPoller} for polling of a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<FleetMemberInner> updateWithResponse(
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<FleetMemberInner>, FleetMemberInner> beginUpdate(
String resourceGroupName,
String fleetName,
String fleetMemberName,
Expand All @@ -194,6 +210,29 @@ Response<FleetMemberInner> updateWithResponse(
FleetMemberInner update(
String resourceGroupName, String fleetName, String fleetMemberName, FleetMemberUpdate properties);

/**
* Update a FleetMember.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fleetName The name of the Fleet resource.
* @param fleetMemberName The name of the Fleet member resource.
* @param properties The resource properties to be updated.
* @param ifMatch The request should only proceed if an entity matches this string.
* @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 a member of the Fleet.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
FleetMemberInner update(
String resourceGroupName,
String fleetName,
String fleetMemberName,
FleetMemberUpdate properties,
String ifMatch,
Context context);

/**
* Delete a FleetMember.
*
Expand Down
Loading

0 comments on commit 8a2ede1

Please sign in to comment.