Content-Length: 461649 | pFad | http://github.com/Azure/azure-rest-api-specs/commit/cec682884f8d63e4a146c83b88535a90ffb81fbd

B7 mgmt, java, config for avs (#34968) · Azure/azure-rest-api-specs@cec6828 · GitHub
Skip to content

Commit cec6828

Browse files
mgmt, java, config for avs (#34968)
1 parent 02bfa79 commit cec6828

File tree

2 files changed

+76
-1
lines changed

2 files changed

+76
-1
lines changed

specification/vmware/Microsoft.AVS.Management/client.tsp

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,16 @@ interface WorkloadNetworks {
7878
#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name."
7979
listPublicIPs is WorkloadNetworkPublicIps.list;
8080
#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name."
81+
@clientName("getPublicIp", "java")
8182
getPublicIP is WorkloadNetworkPublicIps.get;
8283
#suppress "@azure-tools/typespec-azure-core/invalid-final-state"
8384
#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name."
8485
@Azure.Core.useFinalStateVia("azure-async-operation")
86+
@clientName("createPublicIp", "java")
8587
createPublicIP is WorkloadNetworkPublicIps.create;
8688
#suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes"
8789
#suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name."
90+
@clientName("deletePublicIp", "java")
8891
deletePublicIP is WorkloadNetworkPublicIps.delete;
8992

9093
listSegments is WorkloadNetworkSegments.list;
@@ -232,7 +235,78 @@ interface PureStoragePolicies extends Microsoft.AVS.PureStoragePolicies {}
232235
"java"
233236
);
234237

235-
@@clientName(Locations.checkTrialAvailability::parameters.sku, "SKU", "go");
238+
// parameter
239+
@@clientName(PublicIPIdParameter.publicIPId, "publicIpId", "java");
240+
@@clientName(WorkloadNetworkPublicIps.create::parameters.resource,
241+
"workloadNetworkPublicIp",
242+
"java"
243+
);
244+
245+
@@clientName(Customization, "AvsClient", "java");
246+
247+
// flatten
248+
#suppress "deprecated" "property flatten for SDK backward compatibility"
249+
@@flattenProperty(Azure.ResourceManager.TrackedResource.properties,
250+
"java,python"
251+
);
252+
#suppress "deprecated" "property flatten for SDK backward compatibility"
253+
@@flattenProperty(Azure.ResourceManager.Foundations.ResourceUpdateModel.properties,
254+
"java,python"
255+
);
256+
#suppress "deprecated" "property flatten for SDK backward compatibility"
257+
@@flattenProperty(Azure.ResourceManager.Foundations.ProxyResourceUpdateModel.properties,
258+
"java,python"
259+
);
260+
261+
#suppress "deprecated" "property flatten for SDK backward compatibility"
262+
@@flattenProperty(Location.properties, "java,python");
263+
#suppress "deprecated" "property flatten for SDK backward compatibility"
264+
@@flattenProperty(Cluster.properties, "java,python");
265+
#suppress "deprecated" "property flatten for SDK backward compatibility"
266+
@@flattenProperty(Datastore.properties, "java,python");
267+
#suppress "deprecated" "property flatten for SDK backward compatibility"
268+
@@flattenProperty(HcxEnterpriseSite.properties, "java,python");
269+
#suppress "deprecated" "property flatten for SDK backward compatibility"
270+
@@flattenProperty(ExpressRouteAuthorization.properties, "java,python");
271+
#suppress "deprecated" "property flatten for SDK backward compatibility"
272+
@@flattenProperty(GlobalReachConnection.properties, "java,python");
273+
#suppress "deprecated" "property flatten for SDK backward compatibility"
274+
@@flattenProperty(WorkloadNetwork.properties, "java,python");
275+
#suppress "deprecated" "property flatten for SDK backward compatibility"
276+
@@flattenProperty(WorkloadNetworkSegment.properties, "java,python");
277+
#suppress "deprecated" "property flatten for SDK backward compatibility"
278+
@@flattenProperty(WorkloadNetworkGateway.properties, "java,python");
279+
#suppress "deprecated" "property flatten for SDK backward compatibility"
280+
@@flattenProperty(WorkloadNetworkPortMirroring.properties, "java,python");
281+
#suppress "deprecated" "property flatten for SDK backward compatibility"
282+
@@flattenProperty(WorkloadNetworkVMGroup.properties, "java,python");
283+
#suppress "deprecated" "property flatten for SDK backward compatibility"
284+
@@flattenProperty(WorkloadNetworkVirtualMachine.properties, "java,python");
285+
#suppress "deprecated" "property flatten for SDK backward compatibility"
286+
@@flattenProperty(WorkloadNetworkDnsService.properties, "java,python");
287+
#suppress "deprecated" "property flatten for SDK backward compatibility"
288+
@@flattenProperty(WorkloadNetworkDnsZone.properties, "java,python");
289+
#suppress "deprecated" "property flatten for SDK backward compatibility"
290+
@@flattenProperty(WorkloadNetworkPublicIP.properties, "java,python");
291+
#suppress "deprecated" "property flatten for SDK backward compatibility"
292+
@@flattenProperty(CloudLink.properties, "java,python");
293+
#suppress "deprecated" "property flatten for SDK backward compatibility"
294+
@@flattenProperty(VirtualMachine.properties, "java,python");
295+
#suppress "deprecated" "property flatten for SDK backward compatibility"
296+
@@flattenProperty(ScriptPackage.properties, "java,python");
297+
#suppress "deprecated" "property flatten for SDK backward compatibility"
298+
@@flattenProperty(ScriptCmdlet.properties, "java,python");
299+
#suppress "deprecated" "property flatten for SDK backward compatibility"
300+
@@flattenProperty(ScriptExecution.properties, "java,python");
301+
#suppress "deprecated" "property flatten for SDK backward compatibility"
302+
@@flattenProperty(IscsiPath.properties, "java,python");
303+
304+
#suppress "deprecated" "property flatten for SDK backward compatibility"
305+
@@flattenProperty(PrivateCloudUpdate.properties, "java,python");
306+
#suppress "deprecated" "property flatten for SDK backward compatibility"
307+
@@flattenProperty(ClusterUpdate.properties, "java,python");
308+
#suppress "deprecated" "property flatten for SDK backward compatibility"
309+
@@flattenProperty(PlacementPolicyUpdate.properties, "java,python");
236310

237311
@@alternateType(ScriptExecutionProperties.namedOutputs,
238312
Record<unknown>,

specification/vmware/Microsoft.AVS.Management/tspconfig.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ options:
4141
namespace: "com.azure.resourcemanager.avs"
4242
service-name: "Avs"
4343
flavor: azure
44+
use-object-as-unknown: true
4445

4546
"@azure-tools/typespec-python":
4647
service-dir: "sdk/compute"

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Azure/azure-rest-api-specs/commit/cec682884f8d63e4a146c83b88535a90ffb81fbd

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy