Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Generated Types #1078

Merged
1 commit merged into from
Sep 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion generated/addons/log.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AutoRest code generation utility [cli version: 3.6.2; node: v16.16.0]
AutoRest code generation utility [cli version: 3.6.2; node: v16.17.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
warning | SkippedSemanticValidation | Semantic validation was skipped.
Expand Down
2 changes: 1 addition & 1 deletion generated/adp/log.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AutoRest code generation utility [cli version: 3.6.2; node: v16.16.0]
AutoRest code generation utility [cli version: 3.6.2; node: v16.17.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
warning | SkippedSemanticValidation | Semantic validation was skipped.
Expand Down
11 changes: 10 additions & 1 deletion generated/advisor/log.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
AutoRest code generation utility [cli version: 3.6.2; node: v16.16.0]
AutoRest code generation utility [cli version: 3.6.2; node: v16.17.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
warning | SkippedSemanticValidation | Semantic validation was skipped.
warning | PreCheck/SchemaMissingType | The schema 'Resource' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
- file:///home/runner/work/bicep-types-az/bicep-types-az/workflow-temp/azure-rest-api-specs/specification/advisor/resource-manager/Microsoft.Advisor/stable/2022-09-01/advisor.json:1256:5
warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while. Run with --verbose for more detail.
warning | Unrecognized property type: any-object. Returning 'any'.
warning | Unrecognized property type: any-object. Returning 'any'.
warning | Unrecognized property type: any-object. Returning 'any'.
warning | Unrecognized property type: any-object. Returning 'any'.
warning | Unrecognized property type: any-object. Returning 'any'.
warning | SkippedSemanticValidation | Semantic validation was skipped.
warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while. Run with --verbose for more detail.
warning | SkippedSemanticValidation | Semantic validation was skipped.
warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while. Run with --verbose for more detail.
Expand Down
1 change: 1 addition & 0 deletions generated/advisor/microsoft.advisor/2022-09-01/types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"default"}},{"5":{"Elements":[8,4]}},{"6":{"Value":"Microsoft.Advisor/configurations"}},{"6":{"Value":"2022-09-01"}},{"2":{"Name":"Microsoft.Advisor/configurations","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":9,"Flags":9,"Description":"The resource name"},"type":{"Type":10,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":11,"Flags":10,"Description":"The resource api version"},"properties":{"Type":13,"Flags":0,"Description":"The Advisor configuration data structure."}}}},{"2":{"Name":"ConfigDataProperties","Properties":{"exclude":{"Type":2,"Flags":0,"Description":"Exclude the resource from Advisor evaluations. Valid values: False (default) or True."},"lowCpuThreshold":{"Type":18,"Flags":0,"Description":"Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid only for subscriptions. Valid values: 5 (default), 10, 15 or 20."},"duration":{"Type":25,"Flags":0,"Description":"Minimum duration for Advisor low CPU utilization evaluation. Valid only for subscriptions. Valid values: 7 (default), 14, 21, 30, 60 or 90."},"digests":{"Type":37,"Flags":0,"Description":"Advisor digest configuration. Valid only for subscriptions"}}}},{"6":{"Value":"5"}},{"6":{"Value":"10"}},{"6":{"Value":"15"}},{"6":{"Value":"20"}},{"5":{"Elements":[14,15,16,17,4]}},{"6":{"Value":"7"}},{"6":{"Value":"14"}},{"6":{"Value":"21"}},{"6":{"Value":"30"}},{"6":{"Value":"60"}},{"6":{"Value":"90"}},{"5":{"Elements":[19,20,21,22,23,24,4]}},{"2":{"Name":"DigestConfig","Properties":{"name":{"Type":4,"Flags":0,"Description":"Name of digest configuration. Value is case-insensitive and must be unique within a subscription."},"actionGroupResourceId":{"Type":4,"Flags":0,"Description":"Action group resource id used by digest."},"frequency":{"Type":3,"Flags":0,"Description":"Frequency that digest will be triggered, in days. Value must be between 7 and 30 days inclusive."},"categories":{"Type":33,"Flags":0,"Description":"Categories to send digest for. If categories are not provided, then digest will be sent for all categories."},"language":{"Type":4,"Flags":0,"Description":"Language for digest content body. Value must be ISO 639-1 code for one of Azure portal supported languages. Otherwise, it will be converted into one. Default value is English (en)."},"state":{"Type":36,"Flags":0,"Description":"State of digest configuration."}}}},{"6":{"Value":"HighAvailability"}},{"6":{"Value":"Security"}},{"6":{"Value":"Performance"}},{"6":{"Value":"Cost"}},{"6":{"Value":"OperationalExcellence"}},{"5":{"Elements":[27,28,29,30,31,4]}},{"3":{"ItemType":32}},{"6":{"Value":"Active"}},{"6":{"Value":"Disabled"}},{"5":{"Elements":[34,35,4]}},{"3":{"ItemType":26}},{"4":{"Name":"Microsoft.Advisor/configurations@2022-09-01","ScopeType":12,"Body":12,"Flags":0}},{"6":{"Value":"Microsoft.Advisor/recommendations/suppressions"}},{"6":{"Value":"2022-09-01"}},{"2":{"Name":"Microsoft.Advisor/recommendations/suppressions","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":39,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":40,"Flags":10,"Description":"The resource api version"},"properties":{"Type":42,"Flags":0,"Description":"The properties of the suppression."}}}},{"2":{"Name":"SuppressionProperties","Properties":{"suppressionId":{"Type":4,"Flags":0,"Description":"The GUID of the suppression."},"ttl":{"Type":4,"Flags":0,"Description":"The duration for which the suppression is valid."},"expirationTimeStamp":{"Type":4,"Flags":2,"Description":"Gets or sets the expiration time stamp."}}}},{"4":{"Name":"Microsoft.Advisor/recommendations/suppressions@2022-09-01","ScopeType":0,"Body":41,"Flags":0}},{"6":{"Value":"Microsoft.Advisor/recommendations"}},{"6":{"Value":"2022-09-01"}},{"2":{"Name":"Microsoft.Advisor/recommendations","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":44,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":45,"Flags":10,"Description":"The resource api version"},"properties":{"Type":47,"Flags":2,"Description":"The properties of the recommendation."}}}},{"2":{"Name":"RecommendationProperties","Properties":{"category":{"Type":53,"Flags":0,"Description":"The category of the recommendation."},"impact":{"Type":57,"Flags":0,"Description":"The business impact of the recommendation."},"impactedField":{"Type":4,"Flags":0,"Description":"The resource type identified by Advisor."},"impactedValue":{"Type":4,"Flags":0,"Description":"The resource identified by Advisor."},"lastUpdated":{"Type":4,"Flags":0,"Description":"The most recent time that Advisor checked the validity of the recommendation."},"metadata":{"Type":58,"Flags":0,"Description":"The recommendation metadata."},"recommendationTypeId":{"Type":4,"Flags":0,"Description":"The recommendation-type GUID."},"risk":{"Type":62,"Flags":0,"Description":"The potential risk of not implementing the recommendation."},"shortDescription":{"Type":63,"Flags":0,"Description":"A summary of the recommendation."},"suppressionIds":{"Type":64,"Flags":0,"Description":"The list of snoozed and dismissed rules for the recommendation."},"extendedProperties":{"Type":65,"Flags":0,"Description":"Extended properties"},"resourceMetadata":{"Type":66,"Flags":0,"Description":"Metadata of resource that was assessed"},"description":{"Type":4,"Flags":0,"Description":"The detailed description of recommendation."},"label":{"Type":4,"Flags":0,"Description":"The label of recommendation."},"learnMoreLink":{"Type":4,"Flags":0,"Description":"The link to learn more about recommendation and generation logic."},"potentialBenefits":{"Type":4,"Flags":0,"Description":"The potential benefit of implementing recommendation."},"actions":{"Type":69,"Flags":0,"Description":"The list of recommended actions to implement recommendation."},"remediation":{"Type":70,"Flags":0,"Description":"The automated way to apply recommendation."},"exposedMetadataProperties":{"Type":71,"Flags":0,"Description":"The recommendation metadata properties exposed to customer to provide additional information."}}}},{"6":{"Value":"HighAvailability"}},{"6":{"Value":"Security"}},{"6":{"Value":"Performance"}},{"6":{"Value":"Cost"}},{"6":{"Value":"OperationalExcellence"}},{"5":{"Elements":[48,49,50,51,52,4]}},{"6":{"Value":"High"}},{"6":{"Value":"Medium"}},{"6":{"Value":"Low"}},{"5":{"Elements":[54,55,56,4]}},{"2":{"Name":"RecommendationPropertiesMetadata","Properties":{},"AdditionalProperties":0}},{"6":{"Value":"Error"}},{"6":{"Value":"Warning"}},{"6":{"Value":"None"}},{"5":{"Elements":[59,60,61,4]}},{"2":{"Name":"ShortDescription","Properties":{"problem":{"Type":4,"Flags":0,"Description":"The issue or opportunity identified by the recommendation."},"solution":{"Type":4,"Flags":0,"Description":"The remediation action suggested by the recommendation."}}}},{"3":{"ItemType":4}},{"2":{"Name":"RecommendationPropertiesExtendedProperties","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"ResourceMetadata","Properties":{"resourceId":{"Type":4,"Flags":0,"Description":"Azure resource Id of the assessed resource"},"source":{"Type":4,"Flags":0,"Description":"Source from which recommendation is generated"},"action":{"Type":67,"Flags":0,"Description":"The action to view resource."},"singular":{"Type":4,"Flags":0,"Description":"The singular user friendly name of resource type. eg: virtual machine"},"plural":{"Type":4,"Flags":0,"Description":"The plural user friendly name of resource type. eg: virtual machines"}}}},{"2":{"Name":"ResourceMetadataAction","Properties":{},"AdditionalProperties":0}},{"2":{"Name":"RecommendationPropertiesActionsItem","Properties":{},"AdditionalProperties":0}},{"3":{"ItemType":68}},{"2":{"Name":"RecommendationPropertiesRemediation","Properties":{},"AdditionalProperties":0}},{"2":{"Name":"RecommendationPropertiesExposedMetadataProperties","Properties":{},"AdditionalProperties":0}},{"4":{"Name":"Microsoft.Advisor/recommendations@2022-09-01","ScopeType":0,"Body":46,"Flags":1}}]
116 changes: 116 additions & 0 deletions generated/advisor/microsoft.advisor/2022-09-01/types.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# Microsoft.Advisor @ 2022-09-01

## Resource Microsoft.Advisor/configurations@2022-09-01
* **Valid Scope(s)**: Subscription, ResourceGroup
### Properties
* **apiVersion**: '2022-09-01' (ReadOnly, DeployTimeConstant): The resource api version
* **id**: string (ReadOnly, DeployTimeConstant): The resource id
* **name**: 'default' | string (Required, DeployTimeConstant): The resource name
* **properties**: [ConfigDataProperties](#configdataproperties): The Advisor configuration data structure.
* **type**: 'Microsoft.Advisor/configurations' (ReadOnly, DeployTimeConstant): The resource type

## Resource Microsoft.Advisor/recommendations@2022-09-01 (ReadOnly)
* **Valid Scope(s)**: Unknown
### Properties
* **apiVersion**: '2022-09-01' (ReadOnly, DeployTimeConstant): The resource api version
* **id**: string (ReadOnly, DeployTimeConstant): The resource id
* **name**: string (Required, DeployTimeConstant): The resource name
* **properties**: [RecommendationProperties](#recommendationproperties) (ReadOnly): The properties of the recommendation.
* **type**: 'Microsoft.Advisor/recommendations' (ReadOnly, DeployTimeConstant): The resource type

## Resource Microsoft.Advisor/recommendations/suppressions@2022-09-01
* **Valid Scope(s)**: Unknown
### Properties
* **apiVersion**: '2022-09-01' (ReadOnly, DeployTimeConstant): The resource api version
* **id**: string (ReadOnly, DeployTimeConstant): The resource id
* **name**: string (Required, DeployTimeConstant): The resource name
* **properties**: [SuppressionProperties](#suppressionproperties): The properties of the suppression.
* **type**: 'Microsoft.Advisor/recommendations/suppressions' (ReadOnly, DeployTimeConstant): The resource type

## ConfigDataProperties
### Properties
* **digests**: [DigestConfig](#digestconfig)[]: Advisor digest configuration. Valid only for subscriptions
* **duration**: '14' | '21' | '30' | '60' | '7' | '90' | string: Minimum duration for Advisor low CPU utilization evaluation. Valid only for subscriptions. Valid values: 7 (default), 14, 21, 30, 60 or 90.
* **exclude**: bool: Exclude the resource from Advisor evaluations. Valid values: False (default) or True.
* **lowCpuThreshold**: '10' | '15' | '20' | '5' | string: Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid only for subscriptions. Valid values: 5 (default), 10, 15 or 20.

## DigestConfig
### Properties
* **actionGroupResourceId**: string: Action group resource id used by digest.
* **categories**: 'Cost' | 'HighAvailability' | 'OperationalExcellence' | 'Performance' | 'Security' | string[]: Categories to send digest for. If categories are not provided, then digest will be sent for all categories.
* **frequency**: int: Frequency that digest will be triggered, in days. Value must be between 7 and 30 days inclusive.
* **language**: string: Language for digest content body. Value must be ISO 639-1 code for one of Azure portal supported languages. Otherwise, it will be converted into one. Default value is English (en).
* **name**: string: Name of digest configuration. Value is case-insensitive and must be unique within a subscription.
* **state**: 'Active' | 'Disabled' | string: State of digest configuration.

## RecommendationProperties
### Properties
* **actions**: [RecommendationPropertiesActionsItem](#recommendationpropertiesactionsitem)[]: The list of recommended actions to implement recommendation.
* **category**: 'Cost' | 'HighAvailability' | 'OperationalExcellence' | 'Performance' | 'Security' | string: The category of the recommendation.
* **description**: string: The detailed description of recommendation.
* **exposedMetadataProperties**: [RecommendationPropertiesExposedMetadataProperties](#recommendationpropertiesexposedmetadataproperties): The recommendation metadata properties exposed to customer to provide additional information.
* **extendedProperties**: [RecommendationPropertiesExtendedProperties](#recommendationpropertiesextendedproperties): Extended properties
* **impact**: 'High' | 'Low' | 'Medium' | string: The business impact of the recommendation.
* **impactedField**: string: The resource type identified by Advisor.
* **impactedValue**: string: The resource identified by Advisor.
* **label**: string: The label of recommendation.
* **lastUpdated**: string: The most recent time that Advisor checked the validity of the recommendation.
* **learnMoreLink**: string: The link to learn more about recommendation and generation logic.
* **metadata**: [RecommendationPropertiesMetadata](#recommendationpropertiesmetadata): The recommendation metadata.
* **potentialBenefits**: string: The potential benefit of implementing recommendation.
* **recommendationTypeId**: string: The recommendation-type GUID.
* **remediation**: [RecommendationPropertiesRemediation](#recommendationpropertiesremediation): The automated way to apply recommendation.
* **resourceMetadata**: [ResourceMetadata](#resourcemetadata): Metadata of resource that was assessed
* **risk**: 'Error' | 'None' | 'Warning' | string: The potential risk of not implementing the recommendation.
* **shortDescription**: [ShortDescription](#shortdescription): A summary of the recommendation.
* **suppressionIds**: string[]: The list of snoozed and dismissed rules for the recommendation.

## RecommendationPropertiesActionsItem
### Properties
### Additional Properties
* **Additional Properties Type**: any

## RecommendationPropertiesExposedMetadataProperties
### Properties
### Additional Properties
* **Additional Properties Type**: any

## RecommendationPropertiesExtendedProperties
### Properties
### Additional Properties
* **Additional Properties Type**: string

## RecommendationPropertiesMetadata
### Properties
### Additional Properties
* **Additional Properties Type**: any

## RecommendationPropertiesRemediation
### Properties
### Additional Properties
* **Additional Properties Type**: any

## ResourceMetadata
### Properties
* **action**: [ResourceMetadataAction](#resourcemetadataaction): The action to view resource.
* **plural**: string: The plural user friendly name of resource type. eg: virtual machines
* **resourceId**: string: Azure resource Id of the assessed resource
* **singular**: string: The singular user friendly name of resource type. eg: virtual machine
* **source**: string: Source from which recommendation is generated

## ResourceMetadataAction
### Properties
### Additional Properties
* **Additional Properties Type**: any

## ShortDescription
### Properties
* **problem**: string: The issue or opportunity identified by the recommendation.
* **solution**: string: The remediation action suggested by the recommendation.

## SuppressionProperties
### Properties
* **expirationTimeStamp**: string (ReadOnly): Gets or sets the expiration time stamp.
* **suppressionId**: string: The GUID of the suppression.
* **ttl**: string: The duration for which the suppression is valid.

Loading