Skip to content

Commit

Permalink
add generated examples
Browse files Browse the repository at this point in the history
Signed-off-by: Marques Johansson <[email protected]>
  • Loading branch information
displague committed Mar 5, 2023
1 parent 433bd88 commit 09c5d87
Show file tree
Hide file tree
Showing 21 changed files with 530 additions and 0 deletions.
28 changes: 28 additions & 0 deletions examples-generated/ecx/l2connection.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: ecx.equinix.jet.crossplane.io/v1alpha1
kind: L2Connection
metadata:
annotations:
meta.upbound.io/example-id: ecx/v1alpha1/l2connection
labels:
testing.upbound.io/example-name: port-2-aws
name: port-2-aws
spec:
forProvider:
authorizationKey: "345742915919"
name: tf-aws
notifications:
- [email protected]
- [email protected]
portUuid: ${data.equinix_ecx_port.sv-qinq-pri.id}
profileUuidSelector:
matchLabels:
testing.upbound.io/example-name: equinix_ecx_l2_sellerprofile
sellerMetroCode: SV
sellerRegion: us-west-1
speed: 200
speedUnit: MB
vlanCtag: 1000
vlanStag: 777

---

14 changes: 14 additions & 0 deletions examples-generated/ecx/l2connectionaccepter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: ecx.equinix.jet.crossplane.io/v1alpha1
kind: L2ConnectionAccepter
metadata:
annotations:
meta.upbound.io/example-id: ecx/v1alpha1/l2connectionaccepter
labels:
testing.upbound.io/example-name: accepter
name: accepter
spec:
forProvider:
connectionId: ${equinix_ecx_l2_connection.awsConn.id}

---

44 changes: 44 additions & 0 deletions examples-generated/ecx/l2serviceprofile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
apiVersion: ecx.equinix.jet.crossplane.io/v1alpha1
kind: L2Serviceprofile
metadata:
annotations:
meta.upbound.io/example-id: ecx/v1alpha1/l2serviceprofile
labels:
testing.upbound.io/example-name: private-profile
name: private-profile
spec:
forProvider:
bandwidthThresholdNotifications:
- [email protected]
- [email protected]
connectionNameLabel: Connection
description: my private profile
features:
- allowRemoteConnections: true
testProfile: false
name: private-profile
port:
- metroCode: NY
uuid: a867f685-422f-22f7-6de0-320a5c00abdd
- metroCode: NY
uuid: a867f685-4231-2317-6de0-320a5c00abdd
private: true
privateUserEmails:
- [email protected]
- [email protected]
profileStatuschangeNotifications:
- [email protected]
- [email protected]
speedBand:
- speed: 1000
speedUnit: MB
- speed: 500
speedUnit: MB
- speed: 100
speedUnit: MB
vcStatuschangeNotifications:
- [email protected]
- [email protected]

---

50 changes: 50 additions & 0 deletions examples-generated/metal/connection.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: Connection
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/connection
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
metro: sv
name: tf-metal-to-azure
projectIdSelector:
matchLabels:
testing.upbound.io/example-name: example
redundancy: redundant
serviceTokenType: a_side
speed: 1000Mbps
type: shared

---

apiVersion: ecx.equinix.jet.crossplane.io/v1alpha1
kind: L2Connection
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/connection
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
authorizationKey: ${azurerm_express_route_circuit.example.service_key}
name: tf-metal-to-azure
namedTag: PRIVATE
notifications:
- [email protected]
profileUuidSelector:
matchLabels:
testing.upbound.io/example-name: equinix_ecx_l2_sellerprofile
secondaryConnection:
- name: tf-metal-to-azure-sec
serviceToken: ${equinix_metal_connection.example.service_tokens.1.id}
sellerMetroCode: AM
serviceToken: ${equinix_metal_connection.example.service_tokens.0.id}
speed: ${azurerm_express_route_circuit.example.bandwidth_in_mbps}
speedUnit: MB

---

21 changes: 21 additions & 0 deletions examples-generated/metal/device.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: Device
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/device
labels:
testing.upbound.io/example-name: web1
name: web1
spec:
forProvider:
billingCycle: hourly
hostname: tf.coreos2
metro: sv
operatingSystem: ubuntu_20_04
plan: c3.small.x86
projectIdSelector:
matchLabels:
testing.upbound.io/example-name: example

---

15 changes: 15 additions & 0 deletions examples-generated/metal/organization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: Organization
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/organization
labels:
testing.upbound.io/example-name: tf_organization_1
name: tf-organization-1
spec:
forProvider:
description: quux
name: foobar

---

21 changes: 21 additions & 0 deletions examples-generated/metal/organizationmember.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: OrganizationMember
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/organizationmember
labels:
testing.upbound.io/example-name: member
name: member
spec:
forProvider:
invitee: [email protected]
organizationIdSelector:
matchLabels:
testing.upbound.io/example-name: example
projectsIds:
- ${var.project_id}
roles:
- limited_collaborator

---

14 changes: 14 additions & 0 deletions examples-generated/metal/project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: Project
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/project
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
name: example

---

18 changes: 18 additions & 0 deletions examples-generated/metal/projectapikey.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: ProjectAPIKey
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/projectapikey
labels:
testing.upbound.io/example-name: test
name: test
spec:
forProvider:
description: Read-only key scoped to a projct
projectIdSelector:
matchLabels:
testing.upbound.io/example-name: example
readOnly: true

---

43 changes: 43 additions & 0 deletions examples-generated/metal/projectsshkey.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: ProjectSSHKey
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/projectsshkey
labels:
testing.upbound.io/example-name: test
name: test
spec:
forProvider:
name: test
projectIdSelector:
matchLabels:
testing.upbound.io/example-name: example
publicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDM/unxJeFqxsTJcu6mhqsMHSaVlpu+Jj/P+44zrm6X/MAoHSX3X9oLgujEjjZ74yLfdfe0bJrbL2YgJzNaEkIQQ1VPMHB5EhTKUBGnzlPP0hHTnxsjAm9qDHgUPgvgFDQSAMzdJRJ0Cexo16Ph9VxCoLh3dxiE7s2gaM2FdVg7P8aSxKypsxAhYV3D0AwqzoOyT6WWhBoQ0xZ85XevOTnJCpImSemEGs6nVGEsWcEc1d1YvdxFjAK4SdsKUMkj4Dsy/leKsdi/DEAf356vbMT1UHsXXvy5TlHu/Pa6qF53v32Enz+nhKy7/8W2Yt2yWx8HnQcT2rug9lvCXagJO6oauqRTO77C4QZn13ZLMZgLT66S/tNh2EX0gi6vmIs5dth8uF+K6nxIyKJXbcA4ASg7F1OJrHKFZdTc5v1cPeq6PcbqGgc+8SrPYQmzvQqLoMBuxyos2hUkYOmw3aeWJj9nFa8Wu5WaN89mUeOqSkU4S5cgUzWUOmKey56B/j/s1sVys9rMhZapVs0wL4L9GBBM48N5jAQZnnpo85A8KsZq5ME22bTLqnxsDXqDYZvS7PSI6Dxi7eleOFE/NYYDkrgDLHTQri8ucDMVeVWHgoMY2bPXdn7KKy5jW5jKsf8EPARXg77A4gRYmgKrcwIKqJEUPqyxJBe0CPoGTqgXPRsUiQ==
tomk@hp2

---

apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: Device
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/projectsshkey
labels:
testing.upbound.io/example-name: test
name: test
spec:
forProvider:
billingCycle: hourly
facilities:
- ny5
hostname: test
operatingSystem: ubuntu_20_04
plan: c3.medium.x86
projectIdSelector:
matchLabels:
testing.upbound.io/example-name: example
projectSshKeyIds:
- ${equinix_metal_project_ssh_key.test.id}

---

18 changes: 18 additions & 0 deletions examples-generated/metal/reservedipblock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: ReservedIPBlock
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/reservedipblock
labels:
testing.upbound.io/example-name: two_elastic_addresses
name: two-elastic-addresses
spec:
forProvider:
facility: sv15
projectIdSelector:
matchLabels:
testing.upbound.io/example-name: example
quantity: 2

---

26 changes: 26 additions & 0 deletions examples-generated/metal/spotmarketrequest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: SpotMarketRequest
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/spotmarketrequest
labels:
testing.upbound.io/example-name: req
name: req
spec:
forProvider:
devicesMax: 1
devicesMin: 1
facilities:
- ny5
instanceParameters:
- billingCycle: hourly
hostname: testspot
operatingSystem: ubuntu_20_04
plan: c3.small.x86
maxBidPrice: 0.03
projectIdSelector:
matchLabels:
testing.upbound.io/example-name: example

---

36 changes: 36 additions & 0 deletions examples-generated/metal/sshkey.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: SSHKey
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/sshkey
labels:
testing.upbound.io/example-name: key1
name: key1
spec:
forProvider:
name: terraform-1
publicKey: ${file("/home/terraform/.ssh/id_rsa.pub")}

---

apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: Device
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/sshkey
labels:
testing.upbound.io/example-name: test
name: test
spec:
forProvider:
billingCycle: hourly
hostname: test-device
metro: sv
operatingSystem: ubuntu_20_04
plan: c3.small.x86
projectIdSelector:
matchLabels:
testing.upbound.io/example-name: example

---

15 changes: 15 additions & 0 deletions examples-generated/metal/userapikey.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: UserAPIKey
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/userapikey
labels:
testing.upbound.io/example-name: test
name: test
spec:
forProvider:
description: Read-only user key
readOnly: true

---

18 changes: 18 additions & 0 deletions examples-generated/metal/vlan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: metal.equinix.jet.crossplane.io/v1alpha1
kind: Vlan
metadata:
annotations:
meta.upbound.io/example-id: metal/v1alpha1/vlan
labels:
testing.upbound.io/example-name: vlan1
name: vlan1
spec:
forProvider:
description: VLAN in New Jersey
facility: sv15
projectIdSelector:
matchLabels:
testing.upbound.io/example-name: example

---

Loading

0 comments on commit 09c5d87

Please sign in to comment.