Skip to content

Commit

Permalink
mgmt, java, fleet, tspconfig (#30926)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft authored Oct 15, 2024
1 parent cca7b5d commit 36946d9
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
30 changes: 30 additions & 0 deletions specification/containerservice/Fleet.Management/client.tsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import "./main.tsp";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;

@@clientName(Microsoft.ContainerService,
"ContainerServiceFleetManagementClient",
"java"
);

@@clientName(Microsoft.ContainerService.APIServerAccessProfile,
"ApiServerAccessProfile",
"java"
);
@@clientName(Azure.ResourceManager.EntityTagProperty.eTag, "etag", "java");

@@clientName(Azure.ResourceManager.Legacy.ManagedServiceIdentityV4,
"ManagedServiceIdentity"
);

#suppress "deprecated" "property flatten for SDK backward compatibility"
@@flattenProperty(Azure.ResourceManager.TrackedResource.properties);
#suppress "deprecated" "property flatten for SDK backward compatibility"
@@flattenProperty(Azure.ResourceManager.ProxyResource.properties);
#suppress "deprecated" "property flatten for SDK backward compatibility"
@@flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties
);
#suppress "deprecated" "property flatten for SDK backward compatibility"
@@flattenProperty(Azure.ResourceManager.Foundations.ProxyResourceUpdateModel.properties
);
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
parameters:
"service-dir":
default: "sdk/containerservicefleet"
emit:
- "@azure-tools/typespec-autorest"
linter:
Expand All @@ -13,7 +16,11 @@ options:
arm-resource-flattening: true
emitter-output-dir: "{project-root}/.."
arm-types-dir: "{project-root}/../../common-types/resource-management"
examples-dir: "{project-root}/examples"
output-file: "{azure-resource-provider-folder}/{service-name}/fleet/{version-status}/{version}/fleets.json"
omit-unreachable-types: true
use-read-only-status-schema: true
"@azure-tools/typespec-java":
package-dir: "azure-resourcemanager-containerservicefleet"
namespace: "com.azure.resourcemanager.containerservicefleet"
service-name: "Container Service Fleet"
flavor: azure

0 comments on commit 36946d9

Please sign in to comment.