@azure-tools/typespec-azure-resource-manager 0.62.0-dev.6 → 0.62.0-dev.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,9 @@ using Azure.ResourceManager.CommonTypes.Private;
|
|
|
4
4
|
|
|
5
5
|
namespace Azure.ResourceManager.CommonTypes;
|
|
6
6
|
|
|
7
|
+
#suppress "deprecated" "https://github.com/Azure/typespec-azure/issues/2284"
|
|
7
8
|
@@Azure.ResourceManager.Private.conditionalClientFlatten(PrivateLinkResource.properties);
|
|
9
|
+
#suppress "deprecated" "https://github.com/Azure/typespec-azure/issues/2284"
|
|
8
10
|
@@Azure.ResourceManager.Private.conditionalClientFlatten(PrivateEndpointConnection.properties);
|
|
9
11
|
|
|
10
12
|
/** The private endpoint */
|
|
@@ -121,6 +121,7 @@ model ResourceUpdateModel<
|
|
|
121
121
|
"Name" | "name" | "properties"
|
|
122
122
|
>>> {
|
|
123
123
|
/** The resource-specific properties for this resource. */
|
|
124
|
+
#suppress "deprecated" "https://github.com/Azure/typespec-azure/issues/2284"
|
|
124
125
|
@conditionalClientFlatten
|
|
125
126
|
properties?: ResourceUpdateModelProperties<Resource, Properties>;
|
|
126
127
|
}
|
|
@@ -185,6 +186,7 @@ model ProxyResourceUpdateModel<
|
|
|
185
186
|
Resource extends Foundations.SimpleResource,
|
|
186
187
|
Properties extends TypeSpec.Reflection.Model
|
|
187
188
|
> {
|
|
189
|
+
#suppress "deprecated" "https://github.com/Azure/typespec-azure/issues/2284"
|
|
188
190
|
@conditionalClientFlatten
|
|
189
191
|
properties?: ResourceUpdateModelProperties<Resource, Properties>;
|
|
190
192
|
}
|
|
@@ -27,6 +27,7 @@ model TrackedResourceWithOptionalLocation<
|
|
|
27
27
|
Properties extends {},
|
|
28
28
|
PropertiesOptional extends valueof boolean = true
|
|
29
29
|
> extends CommonTypes.Resource {
|
|
30
|
+
#suppress "deprecated" "https://github.com/Azure/typespec-azure/issues/2284"
|
|
30
31
|
@doc("The RP-specific properties for this resource.")
|
|
31
32
|
@conditionalClientFlatten
|
|
32
33
|
@armResourcePropertiesOptionality(PropertiesOptional)
|
package/lib/models.tsp
CHANGED
|
@@ -66,6 +66,7 @@ model ResourceNameParameter<
|
|
|
66
66
|
@Http.Private.includeInapplicableMetadataInPayload(false)
|
|
67
67
|
model TrackedResource<Properties extends {}, PropertiesOptional extends valueof boolean = true>
|
|
68
68
|
extends Foundations.TrackedResource {
|
|
69
|
+
#suppress "deprecated" "https://github.com/Azure/typespec-azure/issues/2284"
|
|
69
70
|
@doc("The resource-specific properties for this resource.")
|
|
70
71
|
@conditionalClientFlatten
|
|
71
72
|
@armResourcePropertiesOptionality(PropertiesOptional)
|
|
@@ -91,6 +92,7 @@ model TrackedResource<Properties extends {}, PropertiesOptional extends valueof
|
|
|
91
92
|
@Http.Private.includeInapplicableMetadataInPayload(false)
|
|
92
93
|
model ProxyResource<Properties extends {}, PropertiesOptional extends valueof boolean = true>
|
|
93
94
|
extends Foundations.ProxyResource {
|
|
95
|
+
#suppress "deprecated" "https://github.com/Azure/typespec-azure/issues/2284"
|
|
94
96
|
@doc("The resource-specific properties for this resource.")
|
|
95
97
|
@conditionalClientFlatten
|
|
96
98
|
@armResourcePropertiesOptionality(PropertiesOptional)
|
|
@@ -122,6 +124,7 @@ model ProxyResource<Properties extends {}, PropertiesOptional extends valueof bo
|
|
|
122
124
|
@Http.Private.includeInapplicableMetadataInPayload(false)
|
|
123
125
|
model ExtensionResource<Properties extends {}, PropertiesOptional extends valueof boolean = true>
|
|
124
126
|
extends Foundations.ExtensionResource {
|
|
127
|
+
#suppress "deprecated" "https://github.com/Azure/typespec-azure/issues/2284"
|
|
125
128
|
@doc("The resource-specific properties for this resource.")
|
|
126
129
|
@conditionalClientFlatten
|
|
127
130
|
@armResourcePropertiesOptionality(PropertiesOptional)
|
|
@@ -101,6 +101,7 @@ extern dec azureResourceBase(target: Model);
|
|
|
101
101
|
* It will programatically enabled/disable client flattening with @flattenProperty with autorest
|
|
102
102
|
* emitter flags to maintain compatibility in swagger.
|
|
103
103
|
*/
|
|
104
|
+
#deprecated "Use @Azure.ClientGenerator.Core.Legacy.flattenProperty instead."
|
|
104
105
|
extern dec conditionalClientFlatten(target: ModelProperty);
|
|
105
106
|
|
|
106
107
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-resource-manager",
|
|
3
|
-
"version": "0.62.0-dev.
|
|
3
|
+
"version": "0.62.0-dev.7",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec Azure Resource Manager library",
|
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|