Skip to content

Commit

Permalink
Update sample and recording
Browse files Browse the repository at this point in the history
  • Loading branch information
super-harsh committed Oct 2, 2023
1 parent eb2c511 commit 3be6ef1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions docs/hugo/content/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,12 +477,12 @@ To install the CRDs for these resources, your ASO configuration must include `in

Development of these new resources is complete and they will be available in the next release of ASO.

| Resource | ARM Version | CRD Version | Supported From | Sample |
|--------------------|-------------|---------------|----------------|---------------------------------------------------------------------------------------------------------------------------------|
| ActionGroup | 2023-01-01 | v1api20230101 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20230101_actiongroup.yaml) |
| Autoscalesetting | 2022-10-01 | v1api20221001 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20221001_autoscalesetting.yaml) |
| MetricAlert | 2018-03-01 | v1api20180301 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20180301_metricalert.yaml) |
| ScheduledQueryRule | 2022-06-15 | v1api20220615 | v2.4.0 | - |
| Resource | ARM Version | CRD Version | Supported From | Sample |
|--------------------|-------------|---------------|----------------|-----------------------------------------------------------------------------------------------------------------------------------|
| ActionGroup | 2023-01-01 | v1api20230101 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20230101_actiongroup.yaml) |
| Autoscalesetting | 2022-10-01 | v1api20221001 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20221001_autoscalesetting.yaml) |
| MetricAlert | 2018-03-01 | v1api20180301 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20180301_metricalert.yaml) |
| ScheduledQueryRule | 2022-06-15 | v1api20220615 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20220615_scheduledqueryrule.yaml) |

### Released

Expand Down
12 changes: 6 additions & 6 deletions docs/hugo/content/reference/insights/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ To install the CRDs for these resources, your ASO configuration must include `in

Development of these new resources is complete and they will be available in the next release of ASO.

| Resource | ARM Version | CRD Version | Supported From | Sample |
|--------------------|-------------|---------------|----------------|---------------------------------------------------------------------------------------------------------------------------------|
| ActionGroup | 2023-01-01 | v1api20230101 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20230101_actiongroup.yaml) |
| Autoscalesetting | 2022-10-01 | v1api20221001 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20221001_autoscalesetting.yaml) |
| MetricAlert | 2018-03-01 | v1api20180301 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20180301_metricalert.yaml) |
| ScheduledQueryRule | 2022-06-15 | v1api20220615 | v2.4.0 | - |
| Resource | ARM Version | CRD Version | Supported From | Sample |
|--------------------|-------------|---------------|----------------|-----------------------------------------------------------------------------------------------------------------------------------|
| ActionGroup | 2023-01-01 | v1api20230101 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20230101_actiongroup.yaml) |
| Autoscalesetting | 2022-10-01 | v1api20221001 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20221001_autoscalesetting.yaml) |
| MetricAlert | 2018-03-01 | v1api20180301 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20180301_metricalert.yaml) |
| ScheduledQueryRule | 2022-06-15 | v1api20220615 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/insights/v1api/v1api20220615_scheduledqueryrule.yaml) |

### Released

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1934,10 +1934,10 @@ interactions:
- application/json
Test-Request-Attempt:
- "0"
url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/scheduledQueryRules/aso-sample-rule?api-version=2023-03-15-preview
url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/scheduledQueryRules/aso-sample-rule?api-version=2022-06-15
method: PUT
response:
body: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/microsoft.insights/scheduledqueryrules/aso-sample-rule","name":"aso-sample-rule","type":"microsoft.insights/scheduledqueryrules","location":"westus2","systemData":{"createdBy":"5fe8acba-4694-403d-8c10-581a22063ff8","createdByType":"Application","createdAt":"2001-02-03T04:05:06Z","lastModifiedBy":"5fe8acba-4694-403d-8c10-581a22063ff8","lastModifiedByType":"Application","lastModifiedAt":"2001-02-03T04:05:06Z"},"properties":{"createdWithApiVersion":"2023-03-15-preview","severity":0,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/components/sampleappinsights"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"requests
body: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/microsoft.insights/scheduledqueryrules/aso-sample-rule","name":"aso-sample-rule","type":"microsoft.insights/scheduledqueryrules","location":"westus2","systemData":{"createdBy":"5fe8acba-4694-403d-8c10-581a22063ff8","createdByType":"Application","createdAt":"2001-02-03T04:05:06Z","lastModifiedBy":"5fe8acba-4694-403d-8c10-581a22063ff8","lastModifiedByType":"Application","lastModifiedAt":"2001-02-03T04:05:06Z"},"properties":{"createdWithApiVersion":"2022-06-15","severity":0,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/components/sampleappinsights"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"requests
| summarize CountByCountry=count() by client_CountryOrRegion","timeAggregation":"Count","operator":"LessThan","threshold":10.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]}}}'
headers:
Cache-Control:
Expand Down Expand Up @@ -1971,10 +1971,10 @@ interactions:
headers:
Test-Request-Attempt:
- "0"
url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/scheduledQueryRules/aso-sample-rule?api-version=2023-03-15-preview
url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/scheduledQueryRules/aso-sample-rule?api-version=2022-06-15
method: GET
response:
body: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/microsoft.insights/scheduledqueryrules/aso-sample-rule","name":"aso-sample-rule","type":"microsoft.insights/scheduledqueryrules","location":"westus2","systemData":{"createdBy":"5fe8acba-4694-403d-8c10-581a22063ff8","createdByType":"Application","createdAt":"2001-02-03T04:05:06Z","lastModifiedBy":"5fe8acba-4694-403d-8c10-581a22063ff8","lastModifiedByType":"Application","lastModifiedAt":"2001-02-03T04:05:06Z"},"properties":{"createdWithApiVersion":"2023-03-15-preview","severity":0,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/components/sampleappinsights"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"requests
body: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/microsoft.insights/scheduledqueryrules/aso-sample-rule","name":"aso-sample-rule","type":"microsoft.insights/scheduledqueryrules","location":"westus2","systemData":{"createdBy":"5fe8acba-4694-403d-8c10-581a22063ff8","createdByType":"Application","createdAt":"2001-02-03T04:05:06Z","lastModifiedBy":"5fe8acba-4694-403d-8c10-581a22063ff8","lastModifiedByType":"Application","lastModifiedAt":"2001-02-03T04:05:06Z"},"properties":{"createdWithApiVersion":"2022-06-15","severity":0,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/components/sampleappinsights"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"requests
| summarize CountByCountry=count() by client_CountryOrRegion","timeAggregation":"Count","operator":"LessThan","threshold":10.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]}}}'
headers:
Cache-Control:
Expand Down Expand Up @@ -2010,10 +2010,10 @@ interactions:
- application/json
Test-Request-Attempt:
- "1"
url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/scheduledQueryRules/aso-sample-rule?api-version=2023-03-15-preview
url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/scheduledQueryRules/aso-sample-rule?api-version=2022-06-15
method: GET
response:
body: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/microsoft.insights/scheduledqueryrules/aso-sample-rule","name":"aso-sample-rule","type":"microsoft.insights/scheduledqueryrules","location":"westus2","systemData":{"createdBy":"5fe8acba-4694-403d-8c10-581a22063ff8","createdByType":"Application","createdAt":"2001-02-03T04:05:06Z","lastModifiedBy":"5fe8acba-4694-403d-8c10-581a22063ff8","lastModifiedByType":"Application","lastModifiedAt":"2001-02-03T04:05:06Z"},"properties":{"createdWithApiVersion":"2023-03-15-preview","severity":0,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/components/sampleappinsights"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"requests
body: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/microsoft.insights/scheduledqueryrules/aso-sample-rule","name":"aso-sample-rule","type":"microsoft.insights/scheduledqueryrules","location":"westus2","systemData":{"createdBy":"5fe8acba-4694-403d-8c10-581a22063ff8","createdByType":"Application","createdAt":"2001-02-03T04:05:06Z","lastModifiedBy":"5fe8acba-4694-403d-8c10-581a22063ff8","lastModifiedByType":"Application","lastModifiedAt":"2001-02-03T04:05:06Z"},"properties":{"createdWithApiVersion":"2022-06-15","severity":0,"enabled":true,"evaluationFrequency":"PT10M","scopes":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/components/sampleappinsights"],"windowSize":"PT10M","criteria":{"allOf":[{"query":"requests
| summarize CountByCountry=count() by client_CountryOrRegion","timeAggregation":"Count","operator":"LessThan","threshold":10.0,"failingPeriods":{"numberOfEvaluationPeriods":1,"minFailingPeriodsToAlert":1}}]}}}'
headers:
Cache-Control:
Expand Down Expand Up @@ -2710,7 +2710,7 @@ interactions:
- application/json
Test-Request-Attempt:
- "0"
url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/scheduledQueryRules/aso-sample-rule?api-version=2023-03-15-preview
url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/asotest-rg-dpwtny/providers/Microsoft.Insights/scheduledQueryRules/aso-sample-rule?api-version=2022-06-15
method: DELETE
response:
body: '{"error":{"code":"ResourceGroupNotFound","message":"Resource group ''asotest-rg-dpwtny''
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: insights.azure.com/v1api20230315preview
apiVersion: insights.azure.com/v1api20220615
kind: ScheduledQueryRule
metadata:
name: aso-sample-rule
Expand Down

0 comments on commit 3be6ef1

Please sign in to comment.