From d363eeabb0de41fc3e0b05149fc9f707b976e5fd Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 13 Aug 2024 07:04:36 +0000 Subject: [PATCH] [Automation] Generate SDK based on TypeSpec 0.19.1 DEV --- eng/emitter-package-lock.json | 14 +++--- eng/emitter-package.json | 4 +- .../fluent/models/FleetInner.java | 24 +++++----- .../models/AssetEndpointProfileInner.java | 24 +++++----- .../fluent/models/AssetInner.java | 24 +++++----- .../fluent/models/ImageVersionInner.java | 24 +++++----- .../fluent/models/PoolInner.java | 24 +++++----- .../models/ResourceDetailsObjectInner.java | 24 +++++----- .../fluent/models/ResourceSkuInner.java | 24 +++++----- ...cumentClassifierBuildOperationDetails.java | 48 +++++++++---------- ...umentClassifierCopyToOperationDetails.java | 48 +++++++++---------- .../DocumentModelBuildOperationDetails.java | 48 +++++++++---------- .../DocumentModelComposeOperationDetails.java | 48 +++++++++---------- .../DocumentModelCopyToOperationDetails.java | 48 +++++++++---------- .../fluent/models/FirewallRuleInner.java | 24 +++++----- .../fluent/models/MongoClusterInner.java | 24 +++++----- ...rivateEndpointConnectionResourceInner.java | 24 +++++----- .../models/PrivateLinkResourceInner.java | 24 +++++----- .../models/PrivateEndpointConnection.java | 24 +++++----- ...tandbyContainerGroupPoolResourceInner.java | 24 +++++----- ...inerGroupPoolRuntimeViewResourceInner.java | 24 +++++----- ...tandbyVirtualMachinePoolResourceInner.java | 24 +++++----- ...alMachinePoolRuntimeViewResourceInner.java | 24 +++++----- .../StandbyVirtualMachineResourceInner.java | 24 +++++----- 24 files changed, 333 insertions(+), 333 deletions(-) diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json index 7f624322c6d5..35702cd69e43 100644 --- a/eng/emitter-package-lock.json +++ b/eng/emitter-package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@azure-tools/typespec-java": "0.19.0" + "@azure-tools/typespec-java": "/mnt/vss/_work/1/s/autorest.java/typespec-extension/azure-tools-typespec-java-0.19.1.tgz" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.45.0", @@ -161,9 +161,9 @@ } }, "node_modules/@azure-tools/typespec-java": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-java/-/typespec-java-0.19.0.tgz", - "integrity": "sha512-4V1/e4SBMv48qlK9DyCMUnyOz5p2rh+/gCs2XxQZrGk7AnpdhPm4+2X03eORdCA/PsP8tX9ACYqlYXsj1twvAg==", + "version": "0.19.1", + "resolved": "file:../../autorest.java/typespec-extension/azure-tools-typespec-java-0.19.1.tgz", + "integrity": "sha512-0w3lsEgn5qR9eOepGBunUhaUsEChJabeV329xxVuZ5u9hHAnYvvHvzOgmG04Rf4/1dDspKp+bIZCpZQZqsXkJg==", "license": "MIT", "dependencies": { "@autorest/codemodel": "~4.20.0", @@ -596,9 +596,9 @@ } }, "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "license": "MIT", "engines": { "node": ">= 4" diff --git a/eng/emitter-package.json b/eng/emitter-package.json index 624dce4094b4..cc713f5b744e 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -1,7 +1,7 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-java": "0.19.0" + "@azure-tools/typespec-java": "/mnt/vss/_work/1/s/autorest.java/typespec-extension/azure-tools-typespec-java-0.19.1.tgz" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.45.0", @@ -16,4 +16,4 @@ "@typespec/versioning": "0.59.0", "@typespec/xml": "0.59.0" } -} +} \ No newline at end of file diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/fluent/models/FleetInner.java b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/fluent/models/FleetInner.java index bd27b97307af..6eb8c93525c9 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/fluent/models/FleetInner.java +++ b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/fluent/models/FleetInner.java @@ -49,9 +49,9 @@ public final class FleetInner extends Resource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -59,9 +59,9 @@ public final class FleetInner extends Resource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of FleetInner class. @@ -159,13 +159,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -179,13 +179,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/AssetEndpointProfileInner.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/AssetEndpointProfileInner.java index 376407e04967..fe22e9a573d2 100644 --- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/AssetEndpointProfileInner.java +++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/AssetEndpointProfileInner.java @@ -37,9 +37,9 @@ public final class AssetEndpointProfileInner extends Resource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -47,9 +47,9 @@ public final class AssetEndpointProfileInner extends Resource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of AssetEndpointProfileInner class. @@ -107,13 +107,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -127,13 +127,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/AssetInner.java b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/AssetInner.java index fe3f17755348..038ab07c5f1b 100644 --- a/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/AssetInner.java +++ b/sdk/deviceregistry/azure-resourcemanager-deviceregistry/src/main/java/com/azure/resourcemanager/deviceregistry/fluent/models/AssetInner.java @@ -37,9 +37,9 @@ public final class AssetInner extends Resource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -47,9 +47,9 @@ public final class AssetInner extends Resource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of AssetInner class. @@ -107,13 +107,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -127,13 +127,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/ImageVersionInner.java b/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/ImageVersionInner.java index 6f4bd2cb5160..035d4c547d25 100644 --- a/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/ImageVersionInner.java +++ b/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/ImageVersionInner.java @@ -29,9 +29,9 @@ public final class ImageVersionInner extends ProxyResource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -39,9 +39,9 @@ public final class ImageVersionInner extends ProxyResource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of ImageVersionInner class. @@ -68,13 +68,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -88,13 +88,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/PoolInner.java b/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/PoolInner.java index 13a76a69b05d..f06d399bc4d8 100644 --- a/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/PoolInner.java +++ b/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/PoolInner.java @@ -37,9 +37,9 @@ public final class PoolInner extends Resource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -47,9 +47,9 @@ public final class PoolInner extends Resource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of PoolInner class. @@ -107,13 +107,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -127,13 +127,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/ResourceDetailsObjectInner.java b/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/ResourceDetailsObjectInner.java index aa1cb1b0b332..771abfb11770 100644 --- a/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/ResourceDetailsObjectInner.java +++ b/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/ResourceDetailsObjectInner.java @@ -29,9 +29,9 @@ public final class ResourceDetailsObjectInner extends ProxyResource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -39,9 +39,9 @@ public final class ResourceDetailsObjectInner extends ProxyResource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of ResourceDetailsObjectInner class. @@ -68,13 +68,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -88,13 +88,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/ResourceSkuInner.java b/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/ResourceSkuInner.java index d21c79c3c741..e47feccff7e7 100644 --- a/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/ResourceSkuInner.java +++ b/sdk/devopsinfrastructure/azure-resourcemanager-devopsinfrastructure/src/main/java/com/azure/resourcemanager/devopsinfrastructure/fluent/models/ResourceSkuInner.java @@ -29,9 +29,9 @@ public final class ResourceSkuInner extends ProxyResource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -39,9 +39,9 @@ public final class ResourceSkuInner extends ProxyResource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of ResourceSkuInner class. @@ -68,13 +68,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -88,13 +88,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentClassifierBuildOperationDetails.java b/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentClassifierBuildOperationDetails.java index 2652efc0b9d0..05cf0ca64ce1 100644 --- a/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentClassifierBuildOperationDetails.java +++ b/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentClassifierBuildOperationDetails.java @@ -33,28 +33,28 @@ public final class DocumentClassifierBuildOperationDetails extends OperationDeta private DocumentClassifierDetails result; /* - * Operation progress (0-100). + * Encountered error. */ @Generated - private Integer percentCompleted; + private Error error; /* - * API version used to create this operation. + * List of key-value tag attributes associated with the document model. */ @Generated - private String apiVersion; + private Map tags; /* - * List of key-value tag attributes associated with the document model. + * API version used to create this operation. */ @Generated - private Map tags; + private String apiVersion; /* - * Encountered error. + * Operation progress (0-100). */ @Generated - private Error error; + private Integer percentCompleted; /** * Creates an instance of DocumentClassifierBuildOperationDetails class. @@ -92,47 +92,47 @@ public DocumentClassifierDetails getResult() { } /** - * Get the percentCompleted property: Operation progress (0-100). + * Get the error property: Encountered error. * - * @return the percentCompleted value. + * @return the error value. */ @Generated @Override - public Integer getPercentCompleted() { - return this.percentCompleted; + public Error getError() { + return this.error; } /** - * Get the apiVersion property: API version used to create this operation. + * Get the tags property: List of key-value tag attributes associated with the document model. * - * @return the apiVersion value. + * @return the tags value. */ @Generated @Override - public String getApiVersion() { - return this.apiVersion; + public Map getTags() { + return this.tags; } /** - * Get the tags property: List of key-value tag attributes associated with the document model. + * Get the apiVersion property: API version used to create this operation. * - * @return the tags value. + * @return the apiVersion value. */ @Generated @Override - public Map getTags() { - return this.tags; + public String getApiVersion() { + return this.apiVersion; } /** - * Get the error property: Encountered error. + * Get the percentCompleted property: Operation progress (0-100). * - * @return the error value. + * @return the percentCompleted value. */ @Generated @Override - public Error getError() { - return this.error; + public Integer getPercentCompleted() { + return this.percentCompleted; } /** diff --git a/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentClassifierCopyToOperationDetails.java b/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentClassifierCopyToOperationDetails.java index 7e887cdccdc6..9d5513b13325 100644 --- a/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentClassifierCopyToOperationDetails.java +++ b/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentClassifierCopyToOperationDetails.java @@ -33,28 +33,28 @@ public final class DocumentClassifierCopyToOperationDetails extends OperationDet private DocumentClassifierDetails result; /* - * Operation progress (0-100). + * Encountered error. */ @Generated - private Integer percentCompleted; + private Error error; /* - * API version used to create this operation. + * List of key-value tag attributes associated with the document model. */ @Generated - private String apiVersion; + private Map tags; /* - * List of key-value tag attributes associated with the document model. + * API version used to create this operation. */ @Generated - private Map tags; + private String apiVersion; /* - * Encountered error. + * Operation progress (0-100). */ @Generated - private Error error; + private Integer percentCompleted; /** * Creates an instance of DocumentClassifierCopyToOperationDetails class. @@ -92,47 +92,47 @@ public DocumentClassifierDetails getResult() { } /** - * Get the percentCompleted property: Operation progress (0-100). + * Get the error property: Encountered error. * - * @return the percentCompleted value. + * @return the error value. */ @Generated @Override - public Integer getPercentCompleted() { - return this.percentCompleted; + public Error getError() { + return this.error; } /** - * Get the apiVersion property: API version used to create this operation. + * Get the tags property: List of key-value tag attributes associated with the document model. * - * @return the apiVersion value. + * @return the tags value. */ @Generated @Override - public String getApiVersion() { - return this.apiVersion; + public Map getTags() { + return this.tags; } /** - * Get the tags property: List of key-value tag attributes associated with the document model. + * Get the apiVersion property: API version used to create this operation. * - * @return the tags value. + * @return the apiVersion value. */ @Generated @Override - public Map getTags() { - return this.tags; + public String getApiVersion() { + return this.apiVersion; } /** - * Get the error property: Encountered error. + * Get the percentCompleted property: Operation progress (0-100). * - * @return the error value. + * @return the percentCompleted value. */ @Generated @Override - public Error getError() { - return this.error; + public Integer getPercentCompleted() { + return this.percentCompleted; } /** diff --git a/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentModelBuildOperationDetails.java b/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentModelBuildOperationDetails.java index 0e1e9b4fc173..df4cadf3dabd 100644 --- a/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentModelBuildOperationDetails.java +++ b/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentModelBuildOperationDetails.java @@ -33,28 +33,28 @@ public final class DocumentModelBuildOperationDetails extends OperationDetails { private DocumentModelDetails result; /* - * Operation progress (0-100). + * Encountered error. */ @Generated - private Integer percentCompleted; + private Error error; /* - * API version used to create this operation. + * List of key-value tag attributes associated with the document model. */ @Generated - private String apiVersion; + private Map tags; /* - * List of key-value tag attributes associated with the document model. + * API version used to create this operation. */ @Generated - private Map tags; + private String apiVersion; /* - * Encountered error. + * Operation progress (0-100). */ @Generated - private Error error; + private Integer percentCompleted; /** * Creates an instance of DocumentModelBuildOperationDetails class. @@ -92,47 +92,47 @@ public DocumentModelDetails getResult() { } /** - * Get the percentCompleted property: Operation progress (0-100). + * Get the error property: Encountered error. * - * @return the percentCompleted value. + * @return the error value. */ @Generated @Override - public Integer getPercentCompleted() { - return this.percentCompleted; + public Error getError() { + return this.error; } /** - * Get the apiVersion property: API version used to create this operation. + * Get the tags property: List of key-value tag attributes associated with the document model. * - * @return the apiVersion value. + * @return the tags value. */ @Generated @Override - public String getApiVersion() { - return this.apiVersion; + public Map getTags() { + return this.tags; } /** - * Get the tags property: List of key-value tag attributes associated with the document model. + * Get the apiVersion property: API version used to create this operation. * - * @return the tags value. + * @return the apiVersion value. */ @Generated @Override - public Map getTags() { - return this.tags; + public String getApiVersion() { + return this.apiVersion; } /** - * Get the error property: Encountered error. + * Get the percentCompleted property: Operation progress (0-100). * - * @return the error value. + * @return the percentCompleted value. */ @Generated @Override - public Error getError() { - return this.error; + public Integer getPercentCompleted() { + return this.percentCompleted; } /** diff --git a/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentModelComposeOperationDetails.java b/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentModelComposeOperationDetails.java index 50d13930b3bb..f4b365886d89 100644 --- a/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentModelComposeOperationDetails.java +++ b/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentModelComposeOperationDetails.java @@ -33,28 +33,28 @@ public final class DocumentModelComposeOperationDetails extends OperationDetails private DocumentModelDetails result; /* - * Operation progress (0-100). + * Encountered error. */ @Generated - private Integer percentCompleted; + private Error error; /* - * API version used to create this operation. + * List of key-value tag attributes associated with the document model. */ @Generated - private String apiVersion; + private Map tags; /* - * List of key-value tag attributes associated with the document model. + * API version used to create this operation. */ @Generated - private Map tags; + private String apiVersion; /* - * Encountered error. + * Operation progress (0-100). */ @Generated - private Error error; + private Integer percentCompleted; /** * Creates an instance of DocumentModelComposeOperationDetails class. @@ -92,47 +92,47 @@ public DocumentModelDetails getResult() { } /** - * Get the percentCompleted property: Operation progress (0-100). + * Get the error property: Encountered error. * - * @return the percentCompleted value. + * @return the error value. */ @Generated @Override - public Integer getPercentCompleted() { - return this.percentCompleted; + public Error getError() { + return this.error; } /** - * Get the apiVersion property: API version used to create this operation. + * Get the tags property: List of key-value tag attributes associated with the document model. * - * @return the apiVersion value. + * @return the tags value. */ @Generated @Override - public String getApiVersion() { - return this.apiVersion; + public Map getTags() { + return this.tags; } /** - * Get the tags property: List of key-value tag attributes associated with the document model. + * Get the apiVersion property: API version used to create this operation. * - * @return the tags value. + * @return the apiVersion value. */ @Generated @Override - public Map getTags() { - return this.tags; + public String getApiVersion() { + return this.apiVersion; } /** - * Get the error property: Encountered error. + * Get the percentCompleted property: Operation progress (0-100). * - * @return the error value. + * @return the percentCompleted value. */ @Generated @Override - public Error getError() { - return this.error; + public Integer getPercentCompleted() { + return this.percentCompleted; } /** diff --git a/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentModelCopyToOperationDetails.java b/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentModelCopyToOperationDetails.java index b3f0229042b3..708417233b58 100644 --- a/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentModelCopyToOperationDetails.java +++ b/sdk/documentintelligence/azure-ai-documentintelligence/src/main/java/com/azure/ai/documentintelligence/models/DocumentModelCopyToOperationDetails.java @@ -33,28 +33,28 @@ public final class DocumentModelCopyToOperationDetails extends OperationDetails private DocumentModelDetails result; /* - * Operation progress (0-100). + * Encountered error. */ @Generated - private Integer percentCompleted; + private Error error; /* - * API version used to create this operation. + * List of key-value tag attributes associated with the document model. */ @Generated - private String apiVersion; + private Map tags; /* - * List of key-value tag attributes associated with the document model. + * API version used to create this operation. */ @Generated - private Map tags; + private String apiVersion; /* - * Encountered error. + * Operation progress (0-100). */ @Generated - private Error error; + private Integer percentCompleted; /** * Creates an instance of DocumentModelCopyToOperationDetails class. @@ -92,47 +92,47 @@ public DocumentModelDetails getResult() { } /** - * Get the percentCompleted property: Operation progress (0-100). + * Get the error property: Encountered error. * - * @return the percentCompleted value. + * @return the error value. */ @Generated @Override - public Integer getPercentCompleted() { - return this.percentCompleted; + public Error getError() { + return this.error; } /** - * Get the apiVersion property: API version used to create this operation. + * Get the tags property: List of key-value tag attributes associated with the document model. * - * @return the apiVersion value. + * @return the tags value. */ @Generated @Override - public String getApiVersion() { - return this.apiVersion; + public Map getTags() { + return this.tags; } /** - * Get the tags property: List of key-value tag attributes associated with the document model. + * Get the apiVersion property: API version used to create this operation. * - * @return the tags value. + * @return the apiVersion value. */ @Generated @Override - public Map getTags() { - return this.tags; + public String getApiVersion() { + return this.apiVersion; } /** - * Get the error property: Encountered error. + * Get the percentCompleted property: Operation progress (0-100). * - * @return the error value. + * @return the percentCompleted value. */ @Generated @Override - public Error getError() { - return this.error; + public Integer getPercentCompleted() { + return this.percentCompleted; } /** diff --git a/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/FirewallRuleInner.java b/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/FirewallRuleInner.java index 18de0706ef34..76418d4eb815 100644 --- a/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/FirewallRuleInner.java +++ b/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/FirewallRuleInner.java @@ -29,9 +29,9 @@ public final class FirewallRuleInner extends ProxyResource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -39,9 +39,9 @@ public final class FirewallRuleInner extends ProxyResource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of FirewallRuleInner class. @@ -79,13 +79,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -99,13 +99,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/MongoClusterInner.java b/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/MongoClusterInner.java index aaa3451f6bbe..b85487e438d7 100644 --- a/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/MongoClusterInner.java +++ b/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/MongoClusterInner.java @@ -31,9 +31,9 @@ public final class MongoClusterInner extends Resource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -41,9 +41,9 @@ public final class MongoClusterInner extends Resource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of MongoClusterInner class. @@ -81,13 +81,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -101,13 +101,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/PrivateEndpointConnectionResourceInner.java b/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/PrivateEndpointConnectionResourceInner.java index 181255cc2393..a34ab5724b25 100644 --- a/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/PrivateEndpointConnectionResourceInner.java +++ b/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/PrivateEndpointConnectionResourceInner.java @@ -29,9 +29,9 @@ public final class PrivateEndpointConnectionResourceInner extends ProxyResource private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -39,9 +39,9 @@ public final class PrivateEndpointConnectionResourceInner extends ProxyResource private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of PrivateEndpointConnectionResourceInner class. @@ -79,13 +79,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -99,13 +99,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/PrivateLinkResourceInner.java b/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/PrivateLinkResourceInner.java index e5b9c58b51c1..eb48691bfb19 100644 --- a/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/PrivateLinkResourceInner.java +++ b/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/fluent/models/PrivateLinkResourceInner.java @@ -29,9 +29,9 @@ public final class PrivateLinkResourceInner extends ProxyResource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -39,9 +39,9 @@ public final class PrivateLinkResourceInner extends ProxyResource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of PrivateLinkResourceInner class. @@ -68,13 +68,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -88,13 +88,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/models/PrivateEndpointConnection.java b/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/models/PrivateEndpointConnection.java index 7738c146f8a8..1176654b586f 100644 --- a/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/models/PrivateEndpointConnection.java +++ b/sdk/mongocluster/azure-resourcemanager-mongocluster/src/main/java/com/azure/resourcemanager/mongocluster/models/PrivateEndpointConnection.java @@ -28,9 +28,9 @@ public final class PrivateEndpointConnection extends ProxyResource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -38,9 +38,9 @@ public final class PrivateEndpointConnection extends ProxyResource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of PrivateEndpointConnection class. @@ -67,13 +67,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -87,13 +87,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyContainerGroupPoolResourceInner.java b/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyContainerGroupPoolResourceInner.java index d3c61a7482c7..abdbf5750b5a 100644 --- a/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyContainerGroupPoolResourceInner.java +++ b/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyContainerGroupPoolResourceInner.java @@ -31,9 +31,9 @@ public final class StandbyContainerGroupPoolResourceInner extends Resource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -41,9 +41,9 @@ public final class StandbyContainerGroupPoolResourceInner extends Resource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of StandbyContainerGroupPoolResourceInner class. @@ -82,13 +82,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -102,13 +102,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyContainerGroupPoolRuntimeViewResourceInner.java b/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyContainerGroupPoolRuntimeViewResourceInner.java index b3d16829eb53..712b654e49ce 100644 --- a/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyContainerGroupPoolRuntimeViewResourceInner.java +++ b/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyContainerGroupPoolRuntimeViewResourceInner.java @@ -29,9 +29,9 @@ public final class StandbyContainerGroupPoolRuntimeViewResourceInner extends Pro private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -39,9 +39,9 @@ public final class StandbyContainerGroupPoolRuntimeViewResourceInner extends Pro private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of StandbyContainerGroupPoolRuntimeViewResourceInner class. @@ -68,13 +68,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -88,13 +88,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyVirtualMachinePoolResourceInner.java b/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyVirtualMachinePoolResourceInner.java index e12917c6d15f..93e4559b807b 100644 --- a/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyVirtualMachinePoolResourceInner.java +++ b/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyVirtualMachinePoolResourceInner.java @@ -31,9 +31,9 @@ public final class StandbyVirtualMachinePoolResourceInner extends Resource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -41,9 +41,9 @@ public final class StandbyVirtualMachinePoolResourceInner extends Resource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of StandbyVirtualMachinePoolResourceInner class. @@ -82,13 +82,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -102,13 +102,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyVirtualMachinePoolRuntimeViewResourceInner.java b/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyVirtualMachinePoolRuntimeViewResourceInner.java index 90707a7a6aa2..1cbc9290f37c 100644 --- a/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyVirtualMachinePoolRuntimeViewResourceInner.java +++ b/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyVirtualMachinePoolRuntimeViewResourceInner.java @@ -29,9 +29,9 @@ public final class StandbyVirtualMachinePoolRuntimeViewResourceInner extends Pro private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -39,9 +39,9 @@ public final class StandbyVirtualMachinePoolRuntimeViewResourceInner extends Pro private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of StandbyVirtualMachinePoolRuntimeViewResourceInner class. @@ -68,13 +68,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -88,13 +88,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /** diff --git a/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyVirtualMachineResourceInner.java b/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyVirtualMachineResourceInner.java index fc02f147a919..f8de51753ea9 100644 --- a/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyVirtualMachineResourceInner.java +++ b/sdk/standbypool/azure-resourcemanager-standbypool/src/main/java/com/azure/resourcemanager/standbypool/fluent/models/StandbyVirtualMachineResourceInner.java @@ -29,9 +29,9 @@ public final class StandbyVirtualMachineResourceInner extends ProxyResource { private SystemData systemData; /* - * Fully qualified resource Id for the resource. + * The type of the resource. */ - private String id; + private String type; /* * The name of the resource. @@ -39,9 +39,9 @@ public final class StandbyVirtualMachineResourceInner extends ProxyResource { private String name; /* - * The type of the resource. + * Fully qualified resource Id for the resource. */ - private String type; + private String id; /** * Creates an instance of StandbyVirtualMachineResourceInner class. @@ -68,13 +68,13 @@ public SystemData systemData() { } /** - * Get the id property: Fully qualified resource Id for the resource. + * Get the type property: The type of the resource. * - * @return the id value. + * @return the type value. */ @Override - public String id() { - return this.id; + public String type() { + return this.type; } /** @@ -88,13 +88,13 @@ public String name() { } /** - * Get the type property: The type of the resource. + * Get the id property: Fully qualified resource Id for the resource. * - * @return the type value. + * @return the id value. */ @Override - public String type() { - return this.type; + public String id() { + return this.id; } /**