@azure-tools/typespec-azure-resource-manager 0.64.0-dev.5 → 0.64.0-dev.6
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.
|
@@ -196,3 +196,12 @@ model DiscriminatedExtensionResource<
|
|
|
196
196
|
> extends Foundations.ExtensionResource {
|
|
197
197
|
...PolymorphicResourceKindProperty<KindType>;
|
|
198
198
|
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Model representing a custom Azure Resource Manager Resource.
|
|
202
|
+
* Use this template with 'is' to create a custom resource.
|
|
203
|
+
* @template isResource Optional. A boolean flag indicating whether the resource should be marked as an Azure resource. Default true.
|
|
204
|
+
*/
|
|
205
|
+
@Http.Private.includeInapplicableMetadataInPayload(false)
|
|
206
|
+
@customAzureResource(#{ isAzureResource: isResource })
|
|
207
|
+
model CustomAzureResource<isResource extends valueof boolean = true> {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-resource-manager",
|
|
3
|
-
"version": "0.64.0-dev.
|
|
3
|
+
"version": "0.64.0-dev.6",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec Azure Resource Manager library",
|
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|