Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Generate example manifests
Browse files Browse the repository at this point in the history
Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
  • Loading branch information
ulucinar committed Dec 21, 2021
1 parent f3fc8ed commit 11c0992
Show file tree
Hide file tree
Showing 643 changed files with 13,015 additions and 0 deletions.
35 changes: 35 additions & 0 deletions examples-generated/active/directorydomainservice.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: active.azure.jet.crossplane.io/v1alpha1
kind: DirectoryDomainService
metadata:
name: example
spec:
forProvider:
depends_on:
- ${azuread_service_principal.example}
- ${azurerm_subnet_network_security_group_association.deploy}
domainName: widgetslogin.net
filteredSyncEnabled: false
initialReplicaSet:
- subnetIdRef:
name: example
location: West Europe
name: example-aadds
notifications:
- additionalRecipients:
- notifyA@example.net
- notifyB@example.org
notifyDcAdmins: true
notifyGlobalAdmins: true
resourceGroupNameRef:
name: example
security:
- syncKerberosPasswords: true
syncNtlmPasswords: true
syncOnPremPasswords: true
sku: Enterprise
tags:
Environment: prod
providerConfigRef:
name: example
18 changes: 18 additions & 0 deletions examples-generated/active/directorydomainservicereplicaset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: active.azure.jet.crossplane.io/v1alpha1
kind: DirectoryDomainServiceReplicaSet
metadata:
name: example
spec:
forProvider:
depends_on:
- ${azurerm_subnet_network_security_group_association.replica}
- ${azurerm_virtual_network_peering.primary_replica}
- ${azurerm_virtual_network_peering.replica_primary}
domainServiceId: ${azurerm_active_directory_domain_service.example.id}
location: West Europe
subnetIdRef:
name: example
providerConfigRef:
name: example
12 changes: 12 additions & 0 deletions examples-generated/advanced/threatprotection.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: advanced.azure.jet.crossplane.io/v1alpha1
kind: ThreatProtection
metadata:
name: example
spec:
forProvider:
enabled: true
targetResourceId: ${azurerm_storage_account.example.id}
providerConfigRef:
name: example
24 changes: 24 additions & 0 deletions examples-generated/analysis/servicesserver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: analysis.azure.jet.crossplane.io/v1alpha1
kind: ServicesServer
metadata:
name: example
spec:
forProvider:
adminUsers:
- myuser@domain.tld
enablePowerBiService: true
ipv4FirewallRule:
- name: myRule1
rangeEnd: 210.117.252.255
rangeStart: 210.117.252.0
location: northeurope
name: analysisservicesserver
resourceGroupNameRef:
name: example
sku: S0
tags:
abc: 123
providerConfigRef:
name: example
17 changes: 17 additions & 0 deletions examples-generated/api/apimanagement.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: APIManagement
metadata:
name: example
spec:
forProvider:
location: West Europe
name: example-apim
publisherEmail: company@terraform.io
publisherName: My Company
resourceGroupNameRef:
name: example
skuName: Developer_1
providerConfigRef:
name: example
22 changes: 22 additions & 0 deletions examples-generated/api/managementapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementApi
metadata:
name: example
spec:
forProvider:
apiManagementName: example-apim
displayName: Example API
import:
- contentFormat: swagger-link-json
contentValue: http://conferenceapi.azurewebsites.net/?format=json
name: example-api
path: example
protocols:
- https
resourceGroupNameRef:
name: example
revision: "1"
providerConfigRef:
name: example
44 changes: 44 additions & 0 deletions examples-generated/api/managementapidiagnostic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementApiDiagnostic
metadata:
name: example
spec:
forProvider:
alwaysLogErrors: true
apiManagementLoggerId: ${azurerm_api_management_logger.example.id}
apiManagementName: example-apim
apiName: example-api
backendRequest:
- bodyBytes: 32
headersToLog:
- content-type
- accept
- origin
backendResponse:
- bodyBytes: 32
headersToLog:
- content-type
- content-length
- origin
frontendRequest:
- bodyBytes: 32
headersToLog:
- content-type
- accept
- origin
frontendResponse:
- bodyBytes: 32
headersToLog:
- content-type
- content-length
- origin
httpCorrelationProtocol: W3C
logClientIp: true
resourceGroupNameRef:
name: example
samplingPercentage: 5
verbosity: Verbose
providerConfigRef:
name: example
21 changes: 21 additions & 0 deletions examples-generated/api/managementapioperation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementApiOperation
metadata:
name: example
spec:
forProvider:
apiManagementName: ${data.azurerm_api_management_api.example.api_management_name}
apiName: ${data.azurerm_api_management_api.example.name}
description: This can only be done by the logged in user.
displayName: Delete User Operation
method: DELETE
operationId: user-delete
resourceGroupNameRef:
name: example
response:
- statusCode: 200
urlTemplate: /users/{id}/delete
providerConfigRef:
name: example
21 changes: 21 additions & 0 deletions examples-generated/api/managementapioperationpolicy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementApiOperationPolicy
metadata:
name: example
spec:
forProvider:
apiManagementName: ${azurerm_api_management_api_operation.example.api_management_name}
apiName: ${azurerm_api_management_api_operation.example.api_name}
operationId: ${azurerm_api_management_api_operation.example.operation_id}
resourceGroupNameRef:
name: example
xmlContent: |
<policies>
<inbound>
<find-and-replace from="xyz" to="abc" />
</inbound>
</policies>
providerConfigRef:
name: example
12 changes: 12 additions & 0 deletions examples-generated/api/managementapioperationtag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementApiOperationTag
metadata:
name: example
spec:
forProvider:
apiOperationId: ${azurerm_api_management_api_operation.example.id}
name: example-Tag
providerConfigRef:
name: example
20 changes: 20 additions & 0 deletions examples-generated/api/managementapipolicy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementApiPolicy
metadata:
name: example
spec:
forProvider:
apiManagementName: ${data.azurerm_api_management_api.example.api_management_name}
apiName: ${data.azurerm_api_management_api.example.name}
resourceGroupNameRef:
name: example
xmlContent: |
<policies>
<inbound>
<find-and-replace from="xyz" to="abc" />
</inbound>
</policies>
providerConfigRef:
name: example
12 changes: 12 additions & 0 deletions examples-generated/api/managementapirelease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementApiRelease
metadata:
name: example
spec:
forProvider:
apiId: ${azurerm_api_management_api.example.id}
name: example-Api-Release
providerConfigRef:
name: example
17 changes: 17 additions & 0 deletions examples-generated/api/managementapischema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementApiSchema
metadata:
name: example
spec:
forProvider:
apiManagementName: ${data.azurerm_api_management_api.example.api_management_name}
apiName: ${data.azurerm_api_management_api.example.name}
contentType: application/vnd.ms-azure-apim.xsd+xml
resourceGroupNameRef:
name: example
schemaId: example-sche,a
value: ${file("api_management_api_schema.xml")}
providerConfigRef:
name: example
16 changes: 16 additions & 0 deletions examples-generated/api/managementapiversionset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementApiVersionSet
metadata:
name: example
spec:
forProvider:
apiManagementName: example-apim
displayName: ExampleAPIVersionSet
name: example-apimapi-1.0.0
resourceGroupNameRef:
name: example
versioningScheme: Segment
providerConfigRef:
name: example
20 changes: 20 additions & 0 deletions examples-generated/api/managementauthorizationserver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementAuthorizationServer
metadata:
name: example
spec:
forProvider:
apiManagementName: ${data.azurerm_api_management.example.name}
authorizationEndpoint: https://example.mydomain.com/client/authorize
clientId: 42424242-4242-4242-4242-424242424242
clientRegistrationEndpoint: https://example.mydomain.com/client/register
displayName: Test Server
grantTypes:
- authorizationCode
name: test-server
resourceGroupNameRef:
name: example
providerConfigRef:
name: example
16 changes: 16 additions & 0 deletions examples-generated/api/managementbackend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementBackend
metadata:
name: example
spec:
forProvider:
apiManagementName: example-apim
name: example-backend
protocol: http
resourceGroupNameRef:
name: example
url: https://backend
providerConfigRef:
name: example
18 changes: 18 additions & 0 deletions examples-generated/api/managementcertificate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementCertificate
metadata:
name: example
spec:
forProvider:
apiManagementName: example-apim
dataSecretRef:
key: example-key
name: example-secret
namespace: crossplane-system
name: example-cert
resourceGroupNameRef:
name: example
providerConfigRef:
name: example
17 changes: 17 additions & 0 deletions examples-generated/api/managementcustomdomain.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This example manifest is auto-generated, and has not been tested.
# Please make the necessary adjustments before using it.
apiVersion: api.azure.jet.crossplane.io/v1alpha1
kind: ManagementCustomDomain
metadata:
name: example
spec:
forProvider:
apiManagementId: ${azurerm_api_management.example.id}
developerPortal:
- hostName: portal.example.com
keyVaultId: ${azurerm_key_vault_certificate.test.secret_id}
proxy:
- hostName: api.example.com
keyVaultId: ${azurerm_key_vault_certificate.test.secret_id}
providerConfigRef:
name: example
Loading

0 comments on commit 11c0992

Please sign in to comment.