@azure-tools/typespec-azure-portal-core
TypeSpec Azure Portal Core library
Install
npm install @azure-tools/typespec-azure-portal-core
Decorators
Azure.Portal
@about
Provides a Model describing about of ARM resource.
@Azure.Portal.about(options: Azure.Portal.AboutOptions)
Target
Model
Parameters
Name | Type | Description |
---|
options | AboutOptions | Property options allows more detailed infomation about the resourceType. |
@browse
Provides a Model customizing browse view of ARM resource.
@Azure.Portal.browse(options: Azure.Portal.BrowseOptions)
Target
Model
Parameters
Name | Type | Description |
---|
options | BrowseOptions | Property options provides browsing information of the resourceType. |
@displayName
Provides a Model Property a display name
@Azure.Portal.displayName(name: valueof string)
Target
ModelProperty
Parameters
Name | Type | Description |
---|
name | valueof string | |
@marketplaceOffer
Provides a Model marketplace offer information of ARM resource.
@Azure.Portal.marketplaceOffer(options: Azure.Portal.MarketplaceOfferOptions)
Target
Model
Parameters
Name | Type | Description |
---|
options | MarketplaceOfferOptions | Property options provides marketplace offer information of the resourceType. |
@promotion
Provides a Model customizing deployment promotion apiVersion for ARM resource.
The apiVersion will be used as a version to deploy to Portal.
@Azure.Portal.promotion(options: Azure.Portal.PromotionOptions)
Target
Model
Parameters
Name | Type | Description |
---|
options | PromotionOptions | Property options provides promotion information of the resourceType. |