Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-resourcemanager-containerservicefleet] Update readme.python.md #7795

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
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.4 (Unreleased)
## 1.0.0-beta.1 (2023-10-25)

- 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-10. 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-08-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-10. 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.3</version>
<version>1.0.0-beta.4</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
/** Samples for FleetMembers Create. */
public final class FleetMembersCreateSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/examples/FleetMembers_Create.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/FleetMembers_Create.json
*/
/**
* Sample code: Creates a FleetMember resource with a long running operation.
Expand All @@ -70,7 +70,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-08-15-preview/examples/FleetMembers_Delete.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/FleetMembers_Delete.json
*/
/**
* Sample code: Deletes a FleetMember resource asynchronously with a long running operation.
Expand All @@ -90,7 +90,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-08-15-preview/examples/FleetMembers_Get.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/FleetMembers_Get.json
*/
/**
* Sample code: Gets a FleetMember resource.
Expand All @@ -110,7 +110,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-08-15-preview/examples/FleetMembers_ListByFleet.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/FleetMembers_ListByFleet.json
*/
/**
* Sample code: Lists the members of a Fleet.
Expand All @@ -132,7 +132,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-08-15-preview/examples/FleetMembers_Update.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/FleetMembers_Update.json
*/
/**
* Sample code: Updates a FleetMember resource synchronously.
Expand Down Expand Up @@ -162,7 +162,7 @@ import java.util.Arrays;
/** Samples for FleetUpdateStrategies CreateOrUpdate. */
public final class FleetUpdateStrategiesCreateOrUpdateSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/examples/UpdateStrategies_CreateOrUpdate.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/UpdateStrategies_CreateOrUpdate.json
*/
/**
* Sample code: Create a FleetUpdateStrategy.
Expand Down Expand Up @@ -195,7 +195,7 @@ public final class FleetUpdateStrategiesCreateOrUpdateSamples {
/** Samples for FleetUpdateStrategies Delete. */
public final class FleetUpdateStrategiesDeleteSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/examples/UpdateStrategies_Delete.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/UpdateStrategies_Delete.json
*/
/**
* Sample code: Delete a FleetUpdateStrategy resource.
Expand All @@ -215,7 +215,7 @@ public final class FleetUpdateStrategiesDeleteSamples {
/** Samples for FleetUpdateStrategies Get. */
public final class FleetUpdateStrategiesGetSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/examples/UpdateStrategies_Get.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/UpdateStrategies_Get.json
*/
/**
* Sample code: Get a FleetUpdateStrategy resource.
Expand All @@ -235,7 +235,7 @@ public final class FleetUpdateStrategiesGetSamples {
/** Samples for FleetUpdateStrategies ListByFleet. */
public final class FleetUpdateStrategiesListByFleetSamples {
/*
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/examples/UpdateStrategies_ListByFleet.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/UpdateStrategies_ListByFleet.json
*/
/**
* Sample code: List the FleetUpdateStrategy resources by fleet.
Expand All @@ -252,15 +252,13 @@ public final class FleetUpdateStrategiesListByFleetSamples {
### Fleets_CreateOrUpdate

```java
import com.azure.resourcemanager.containerservicefleet.models.AgentProfile;
import com.azure.resourcemanager.containerservicefleet.models.FleetHubProfile;
import java.util.HashMap;
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-08-15-preview/examples/Fleets_CreateOrUpdate.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/Fleets_CreateOrUpdate.json
*/
/**
* Sample code: Creates a Fleet resource with a long running operation.
Expand All @@ -275,10 +273,6 @@ public final class FleetsCreateOrUpdateSamples {
.withRegion("East US")
.withExistingResourceGroup("rg1")
.withTags(mapOf("archv2", "", "tier", "production"))
.withHubProfile(
new FleetHubProfile()
.withDnsPrefix("dnsprefix1")
.withAgentProfile(new AgentProfile().withVmSize("Standard_DS1")))
.create();
}

Expand All @@ -302,7 +296,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-08-15-preview/examples/Fleets_Delete.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/Fleets_Delete.json
*/
/**
* Sample code: Deletes a Fleet resource asynchronously with a long running operation.
Expand All @@ -322,7 +316,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-08-15-preview/examples/Fleets_Get.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/Fleets_Get.json
*/
/**
* Sample code: Gets a Fleet resource.
Expand All @@ -342,7 +336,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-08-15-preview/examples/Fleets_ListBySub.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/Fleets_ListBySub.json
*/
/**
* Sample code: Lists the Fleet resources in a subscription.
Expand All @@ -362,7 +356,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-08-15-preview/examples/Fleets_ListByResourceGroup.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/Fleets_ListByResourceGroup.json
*/
/**
* Sample code: Lists the Fleet resources in a resource group.
Expand All @@ -382,7 +376,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-08-15-preview/examples/Fleets_ListCredentialsResult.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/Fleets_ListCredentialsResult.json
*/
/**
* Sample code: Lists the user credentials of a Fleet.
Expand All @@ -406,7 +400,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-08-15-preview/examples/Fleets_PatchTags.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/Fleets_PatchTags.json
*/
/**
* Sample code: Update a Fleet.
Expand Down Expand Up @@ -443,7 +437,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-08-15-preview/examples/Operations_List.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/Operations_List.json
*/
/**
* Sample code: List the operations for the provider.
Expand Down Expand Up @@ -473,7 +467,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-08-15-preview/examples/UpdateRuns_CreateOrUpdate.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/UpdateRuns_CreateOrUpdate.json
*/
/**
* Sample code: Create an UpdateRun.
Expand Down Expand Up @@ -515,7 +509,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-08-15-preview/examples/UpdateRuns_Delete.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/UpdateRuns_Delete.json
*/
/**
* Sample code: Delete an updateRun resource.
Expand All @@ -535,7 +529,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-08-15-preview/examples/UpdateRuns_Get.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/UpdateRuns_Get.json
*/
/**
* Sample code: Gets an UpdateRun resource.
Expand All @@ -555,7 +549,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-08-15-preview/examples/UpdateRuns_ListByFleet.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/UpdateRuns_ListByFleet.json
*/
/**
* Sample code: Lists the UpdateRun resources by fleet.
Expand All @@ -575,7 +569,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-08-15-preview/examples/UpdateRuns_Start.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/examples/UpdateRuns_Start.json
*/
/**
* Sample code: Starts an UpdateRun.
Expand All @@ -595,7 +589,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-08-15-preview/examples/UpdateRuns_Stop.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/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-08-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-10.</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 @@ -220,7 +220,7 @@ public ContainerServiceFleetManager authenticate(TokenCredential credential, Azu
.append("-")
.append("com.azure.resourcemanager.containerservicefleet")
.append("/")
.append("1.0.0-beta.3");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.management.Resource;
import com.azure.core.management.SystemData;
import com.azure.resourcemanager.containerservicefleet.models.FleetHubProfile;
import com.azure.resourcemanager.containerservicefleet.models.FleetProvisioningState;
import com.azure.resourcemanager.containerservicefleet.models.ManagedServiceIdentity;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down Expand Up @@ -120,29 +119,6 @@ public FleetProvisioningState provisioningState() {
return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
}

/**
* Get the hubProfile property: The FleetHubProfile configures the Fleet's hub.
*
* @return the hubProfile value.
*/
public FleetHubProfile hubProfile() {
return this.innerProperties() == null ? null : this.innerProperties().hubProfile();
}

/**
* Set the hubProfile property: The FleetHubProfile configures the Fleet's hub.
*
* @param hubProfile the hubProfile value to set.
* @return the FleetInner object itself.
*/
public FleetInner withHubProfile(FleetHubProfile hubProfile) {
if (this.innerProperties() == null) {
this.innerProperties = new FleetProperties();
}
this.innerProperties().withHubProfile(hubProfile);
return this;
}

/**
* Validates the instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,19 @@

package com.azure.resourcemanager.containerservicefleet.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.containerservicefleet.models.FleetHubProfile;
import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.containerservicefleet.models.FleetProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Fleet properties. */
@Fluent
@Immutable
public final class FleetProperties {
/*
* The status of the last operation.
*/
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private FleetProvisioningState provisioningState;

/*
* The FleetHubProfile configures the Fleet's hub.
*/
@JsonProperty(value = "hubProfile")
private FleetHubProfile hubProfile;

/** Creates an instance of FleetProperties class. */
public FleetProperties() {
}
Expand All @@ -37,34 +30,11 @@ public FleetProvisioningState provisioningState() {
return this.provisioningState;
}

/**
* Get the hubProfile property: The FleetHubProfile configures the Fleet's hub.
*
* @return the hubProfile value.
*/
public FleetHubProfile hubProfile() {
return this.hubProfile;
}

/**
* Set the hubProfile property: The FleetHubProfile configures the Fleet's hub.
*
* @param hubProfile the hubProfile value to set.
* @return the FleetProperties object itself.
*/
public FleetProperties withHubProfile(FleetHubProfile hubProfile) {
this.hubProfile = hubProfile;
return this;
}

/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (hubProfile() != null) {
hubProfile().validate();
}
}
}
Loading