-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #746 from sergenyalcin/add-v1beta2-examples
Add example manifests for v1beta2 version
- Loading branch information
Showing
261 changed files
with
20,782 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
examples/alertsmanagement/v1beta2/monitoractionruleactiongroup.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: alertsmanagement.azure.upbound.io/v1beta2 | ||
kind: MonitorActionRuleActionGroup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta2/monitoractionruleactiongroup | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: example | ||
spec: | ||
forProvider: | ||
actionGroupIdSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
resourceGroupNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
|
||
--- | ||
|
||
apiVersion: insights.azure.upbound.io/v1beta2 | ||
kind: MonitorActionGroup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta2/monitoractionruleactiongroup | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: example | ||
spec: | ||
forProvider: | ||
resourceGroupNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
shortName: examplegroup | ||
|
||
--- | ||
|
||
apiVersion: azure.upbound.io/v1beta1 | ||
kind: ResourceGroup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta1/monitoractionruleactiongroup | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: example | ||
spec: | ||
forProvider: | ||
location: West Europe |
41 changes: 41 additions & 0 deletions
41
examples/alertsmanagement/v1beta2/monitoractionrulesuppression.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: alertsmanagement.azure.upbound.io/v1beta2 | ||
kind: MonitorActionRuleSuppression | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta2/monitoractionrulesuppression | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: example | ||
spec: | ||
forProvider: | ||
resourceGroupNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
suppression: | ||
recurrenceType: Weekly | ||
schedule: | ||
endDateUtc: "2019-01-03T15:02:07Z" | ||
recurrenceWeekly: | ||
- Sunday | ||
- Monday | ||
- Friday | ||
- Saturday | ||
startDateUtc: "2019-01-01T01:02:03Z" | ||
|
||
--- | ||
|
||
apiVersion: azure.upbound.io/v1beta1 | ||
kind: ResourceGroup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta1/monitoractionrulesuppression | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: example | ||
spec: | ||
forProvider: | ||
location: West Europe |
77 changes: 77 additions & 0 deletions
77
examples/alertsmanagement/v1beta2/monitoralertprocessingruleactiongroup.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: alertsmanagement.azure.upbound.io/v1beta2 | ||
kind: MonitorAlertProcessingRuleActionGroup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta2/monitoralertprocessingruleactiongroup | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: mapragex | ||
spec: | ||
forProvider: | ||
addActionGroupIdsRefs: | ||
- name: mapragex | ||
condition: | ||
severity: | ||
operator: Equals | ||
values: | ||
- Sev0 | ||
- Sev1 | ||
- Sev2 | ||
targetResourceType: | ||
operator: Equals | ||
values: | ||
- Microsoft.Compute/VirtualMachines | ||
resourceGroupNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
schedule: | ||
effectiveFrom: 2022-01-01T01:02:03 | ||
effectiveUntil: 2022-02-02T01:02:03 | ||
recurrence: | ||
daily: | ||
- endTime: "09:00:00" | ||
startTime: "17:00:00" | ||
weekly: | ||
- daysOfWeek: | ||
- Saturday | ||
- Sunday | ||
timeZone: Pacific Standard Time | ||
scopesRefs: | ||
- name: mapragex | ||
tags: | ||
foo: bar | ||
|
||
--- | ||
|
||
apiVersion: insights.azure.upbound.io/v1beta2 | ||
kind: MonitorActionGroup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta2/monitoralertprocessingruleactiongroup | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: mapragex | ||
spec: | ||
forProvider: | ||
resourceGroupNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
shortName: mapragex | ||
|
||
--- | ||
|
||
apiVersion: azure.upbound.io/v1beta1 | ||
kind: ResourceGroup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta1/monitoralertprocessingruleactiongroup | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: mapragex | ||
spec: | ||
forProvider: | ||
location: West Europe |
58 changes: 58 additions & 0 deletions
58
examples/alertsmanagement/v1beta2/monitoralertprocessingrulesuppression.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: alertsmanagement.azure.upbound.io/v1beta2 | ||
kind: MonitorAlertProcessingRuleSuppression | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta2/monitoralertprocessingrulesuppression | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: maprsexample | ||
spec: | ||
forProvider: | ||
condition: | ||
severity: | ||
operator: Equals | ||
values: | ||
- Sev0 | ||
- Sev1 | ||
- Sev2 | ||
targetResourceType: | ||
operator: Equals | ||
values: | ||
- Microsoft.Compute/VirtualMachines | ||
resourceGroupNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
schedule: | ||
effectiveFrom: 2022-01-01T01:02:03 | ||
effectiveUntil: 2022-02-02T01:02:03 | ||
recurrence: | ||
daily: | ||
- endTime: "09:00:00" | ||
startTime: "17:00:00" | ||
weekly: | ||
- daysOfWeek: | ||
- Saturday | ||
- Sunday | ||
timeZone: Pacific Standard Time | ||
scopesRefs: | ||
- name: maprsexample | ||
tags: | ||
foo: bar | ||
|
||
--- | ||
|
||
apiVersion: azure.upbound.io/v1beta1 | ||
kind: ResourceGroup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta1/monitoralertprocessingrulesuppression | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: maprsexample | ||
spec: | ||
forProvider: | ||
location: West Europe |
75 changes: 75 additions & 0 deletions
75
examples/alertsmanagement/v1beta2/monitorsmartdetectoralertrule.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: alertsmanagement.azure.upbound.io/v1beta2 | ||
kind: MonitorSmartDetectorAlertRule | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta2/monitorsmartdetectoralertrule | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: example | ||
spec: | ||
forProvider: | ||
actionGroup: | ||
idsRefs: | ||
- name: example | ||
detectorType: FailureAnomaliesDetector | ||
frequency: PT1M | ||
name: myrule | ||
resourceGroupNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
scopeResourceIdsRefs: | ||
- name: example | ||
severity: Sev0 | ||
|
||
--- | ||
|
||
apiVersion: insights.azure.upbound.io/v1beta1 | ||
kind: ApplicationInsights | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta2/monitorsmartdetectoralertrule | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: example | ||
spec: | ||
forProvider: | ||
applicationType: web | ||
location: West Europe | ||
resourceGroupNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
|
||
--- | ||
|
||
apiVersion: insights.azure.upbound.io/v1beta2 | ||
kind: MonitorActionGroup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta2/monitorsmartdetectoralertrule | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: example | ||
spec: | ||
forProvider: | ||
resourceGroupNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
shortName: examplegroup | ||
|
||
--- | ||
|
||
apiVersion: azure.upbound.io/v1beta1 | ||
kind: ResourceGroup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: alertsmanagement/v1beta1/monitorsmartdetectoralertrule | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: example | ||
spec: | ||
forProvider: | ||
location: West Europe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
apiVersion: apimanagement.azure.upbound.io/v1beta2 | ||
kind: API | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: apimanagement/v1beta2/api | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: example | ||
spec: | ||
forProvider: | ||
apiManagementNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
displayName: Example API | ||
import: | ||
contentFormat: swagger-link-json | ||
contentValue: http://conferenceapi.azurewebsites.net/?format=json | ||
path: example | ||
protocols: | ||
- https | ||
resourceGroupNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
revision: "1" | ||
|
||
--- | ||
|
||
apiVersion: apimanagement.azure.upbound.io/v1beta2 | ||
kind: Management | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: apimanagement/v1beta2/api | ||
uptest.upbound.io/timeout: "7200" | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: uptest-management-example | ||
spec: | ||
forProvider: | ||
location: West Europe | ||
publisherEmail: company@terraform.io | ||
publisherName: My Company | ||
resourceGroupNameSelector: | ||
matchLabels: | ||
testing.upbound.io/example-name: example | ||
skuName: Developer_1 | ||
|
||
--- | ||
|
||
apiVersion: azure.upbound.io/v1beta1 | ||
kind: ResourceGroup | ||
metadata: | ||
annotations: | ||
meta.upbound.io/example-id: apimanagement/v1beta1/api | ||
labels: | ||
testing.upbound.io/example-name: example | ||
name: uptest-resourcegroup-example | ||
spec: | ||
forProvider: | ||
location: West Europe |
Oops, something went wrong.