SecurityList Sample¶
This page is generated from the checked-in sample manifest at config/samples/core_v1beta1_securitylist.yaml.
| Field | Value |
|---|---|
| Resource | core/SecurityList |
| API Version | core.oracle.com/v1beta1 |
| Source Path | config/samples/core_v1beta1_securitylist.yaml |
#
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
#
# Replace the OCI identifiers below before running e2e.
# Update metadata.name and spec.displayName if you want to force a fresh create
# instead of reusing an existing SecurityList with the same display name in the same
# VCN.
#
apiVersion: core.oracle.com/v1beta1
kind: SecurityList
metadata:
name: securitylist-sample
spec:
compartmentId: ocid1.compartment.oc1..exampleuniqueID
vcnId: ocid1.vcn.oc1..exampleuniqueID
displayName: "securitylist-sample"
egressSecurityRules:
- destination: 0.0.0.0/0
protocol: "all"
description: "Allow outbound traffic"
ingressSecurityRules:
- protocol: "6"
source: 10.0.0.0/16
description: "Allow SSH from the VCN CIDR"
tcpOptions:
destinationPortRange:
min: 22
max: 22