This resource provides the Cloud Gate Mapping resource in Oracle Cloud Infrastructure Identity Domains service.
Create a Cloud Gate mapping
resource "oci_identity_domains_cloud_gate_mapping" "test_cloud_gate_mapping" {
#Required
cloud_gate {
#Required
value = var.cloud_gate_mapping_cloud_gate_value
}
gateway_app {
#Required
name = var.cloud_gate_mapping_gateway_app_name
value = var.cloud_gate_mapping_gateway_app_value
}
idcs_endpoint = data.oci_identity_domain.test_domain.url
policy_name = oci_identity_policy.test_policy.name
resource_prefix = var.cloud_gate_mapping_resource_prefix
schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:CloudGateMapping"]
server {
#Required
value = var.cloud_gate_mapping_server_value
}
#Optional
attribute_sets = ["all"]
attributes = ""
authorization = var.cloud_gate_mapping_authorization
description = var.cloud_gate_mapping_description
id = var.cloud_gate_mapping_id
is_opc_service = var.cloud_gate_mapping_is_opc_service
nginx_settings = var.cloud_gate_mapping_nginx_settings
ocid = var.cloud_gate_mapping_ocid
proxy_pass = var.cloud_gate_mapping_proxy_pass
resource_type_schema_version = var.cloud_gate_mapping_resource_type_schema_version
tags {
#Required
key = var.cloud_gate_mapping_tags_key
value = var.cloud_gate_mapping_tags_value
}
upstream_server_group {
#Optional
ssl = var.cloud_gate_mapping_upstream_server_group_ssl
value = var.cloud_gate_mapping_upstream_server_group_value
}
}
The following arguments are supported:
attribute_sets
- (Optional) (Updatable) A multi-valued list of strings indicating the return type of attribute definition. The specified set of attributes can be fetched by the return type of the attribute. One or more values can be given together to fetch more than one group of attributes. If 'attributes' query parameter is also available, union of the two is fetched. Valid values - all, always, never, request, default. Values are case-insensitive.attributes
- (Optional) (Updatable) A comma-delimited string that specifies the names of resource attributes that should be returned in the response. By default, a response that contains resource attributes contains only attributes that are defined in the schema for that resource type as returned=always or returned=default. An attribute that is defined as returned=request is returned in a response only if the request specifies its name in the value of this query parameter. If a request specifies this query parameter, the response contains the attributes that this query parameter specifies, as well as any attribute that is defined as returned=always.authorization
- (Optional) (Updatable) The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.cloud_gate
- (Required) (Updatable) Reference to owning Cloud Gate
SCIM++ Properties:
ref
- (Optional) (Updatable) The URI of the OAuth app for this Cloud Gate.
SCIM++ Properties:
value
- (Required) (Updatable) The id of the owning Cloud Gate.
SCIM++ Properties:
compartment_ocid
- (Optional) (Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.
SCIM++ Properties:
delete_in_progress
- (Optional) (Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.
SCIM++ Properties:
description
- (Optional) (Updatable) Brief description for this Cloud Gate
SCIM++ Properties:
domain_ocid
- (Optional) (Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.
SCIM++ Properties:
gateway_app
- (Required) (Updatable) Reference to gateway application protected by this Cloud Gate
SCIM++ Properties:
ref
- (Optional) (Updatable) The URI to the gateway application protected by this Cloud Gate
SCIM++ Properties:
name
- (Required) (Updatable) The name (Client ID) of the gateway application protected by this Cloud Gate.
SCIM++ Properties:
value
- (Required) (Updatable) The id of the gateway application protected by this Cloud Gate.
SCIM++ Properties:
id
- (Optional) (Updatable) Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier.
SCIM++ Properties:
idcs_created_by
- (Optional) (Updatable) The User or App who created the Resource
SCIM++ Properties:
ref
- (Optional) (Updatable) The URI of the SCIM resource that represents the User or App who created this Resource
SCIM++ Properties:
display
- (Optional) (Updatable) The displayName of the User or App who created this Resource
SCIM++ Properties:
ocid
- (Optional) (Updatable) The OCID of the SCIM resource that represents the User or App who created this Resource
SCIM++ Properties:
type
- (Optional) (Updatable) The type of resource, User or App, that created this Resource
SCIM++ Properties:
value
- (Required) (Updatable) The ID of the SCIM resource that represents the User or App who created this Resource
SCIM++ Properties:
idcs_endpoint
- (Required) The basic endpoint for the identity domainidcs_last_modified_by
- (Optional) (Updatable) The User or App who modified the Resource
SCIM++ Properties:
ref
- (Optional) (Updatable) The URI of the SCIM resource that represents the User or App who modified this Resource
SCIM++ Properties:
display
- (Optional) (Updatable) The displayName of the User or App who modified this Resource
SCIM++ Properties:
ocid
- (Optional) (Updatable) The OCID of the SCIM resource that represents the User or App who modified this Resource
SCIM++ Properties:
type
- (Optional) (Updatable) The type of resource, User or App, that modified this Resource
SCIM++ Properties:
value
- (Required) (Updatable) The ID of the SCIM resource that represents the User or App who modified this Resource
SCIM++ Properties:
idcs_last_upgraded_in_release
- (Optional) (Updatable) The release number when the resource was upgraded.
SCIM++ Properties:
idcs_prevented_operations
- (Optional) (Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.
SCIM++ Properties:
is_opc_service
- (Optional) (Updatable) Indicates whether this resource was created by OPC
Added In: 19.3.3
SCIM++ Properties:
meta
- (Optional) (Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.
SCIM++ Properties:
created
- (Optional) (Updatable) The DateTime the Resource was added to the Service Provider
SCIM++ Properties:
last_modified
- (Optional) (Updatable) The most recent DateTime that the details of this Resource were updated at the Service Provider. If this Resource has never been modified since its initial creation, the value MUST be the same as the value of created. The attribute MUST be a DateTime.
SCIM++ Properties:
location
- (Optional) (Updatable) The URI of the Resource being returned. This value MUST be the same as the Location HTTP response header.
SCIM++ Properties:
resource_type
- (Optional) (Updatable) Name of the resource type of the resource--for example, Users or Groups
SCIM++ Properties:
version
- (Optional) (Updatable) The version of the Resource being returned. This value must be the same as the ETag HTTP response header.
SCIM++ Properties:
nginx_settings
- (Optional) (Updatable) More NGINX Settings. JSON encoded key value pairs similar to WTP encoding
SCIM++ Properties:
ocid
- (Optional) (Updatable) Unique Oracle Cloud Infrastructure identifier for the SCIM Resource.
SCIM++ Properties:
policy_name
- (Required) (Updatable) The Web Tier policy name used for the App that is mapped to the owning Cloud Gate
SCIM++ Properties:
proxy_pass
- (Optional) (Updatable) NGINX ProxyPass entry for this Mapping
SCIM++ Properties:
resource_prefix
- (Required) (Updatable) Resource prefix for this mapping. This will be used to define the location block
SCIM++ Properties:
resource_type_schema_version
- (Optional) (Updatable) An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.schemas
- (Required) (Updatable) REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard \"enterprise\" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.
SCIM++ Properties:
server
- (Required) (Updatable) Reference to server block for this mapping
SCIM++ Properties:
ref
- (Optional) (Updatable) The URI to the server block entry
SCIM++ Properties:
value
- (Required) (Updatable) The id of the server block entry.
SCIM++ Properties:
tags
- (Optional) (Updatable) A list of tags on this resource.
SCIM++ Properties:
key
- (Required) (Updatable) Key or name of the tag.
SCIM++ Properties:
value
- (Required) (Updatable) Value of the tag.
SCIM++ Properties:
tenancy_ocid
- (Optional) (Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.
SCIM++ Properties:
upstream_server_group
- (Optional) (Updatable) Reference to upstream block for this mapping
Added In: 20.1.3
SCIM++ Properties:
ref
- (Optional) (Updatable) The URI to the upstream block entry
Added In: 20.1.3
SCIM++ Properties:
ssl
- (Optional) (Updatable) SSL flag for the Upstream Block
Added In: 20.1.3
SCIM++ Properties:
value
- (Optional) (Updatable) The id of the upstream block entry.
Added In: 20.1.3
SCIM++ Properties:
* IMPORTANT * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
The following attributes are exported:
cloud_gate
- Reference to owning Cloud Gate
SCIM++ Properties:
ref
- The URI of the OAuth app for this Cloud Gate.
SCIM++ Properties:
value
- The id of the owning Cloud Gate.
SCIM++ Properties:
compartment_ocid
- Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.
SCIM++ Properties:
delete_in_progress
- A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.
SCIM++ Properties:
description
- Brief description for this Cloud Gate
SCIM++ Properties:
domain_ocid
- Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.
SCIM++ Properties:
gateway_app
- Reference to gateway application protected by this Cloud Gate
SCIM++ Properties:
ref
- The URI to the gateway application protected by this Cloud Gate
SCIM++ Properties:
name
- The name (Client ID) of the gateway application protected by this Cloud Gate.
SCIM++ Properties:
value
- The id of the gateway application protected by this Cloud Gate.
SCIM++ Properties:
id
- Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier.
SCIM++ Properties:
idcs_created_by
- The User or App who created the Resource
SCIM++ Properties:
ref
- The URI of the SCIM resource that represents the User or App who created this Resource
SCIM++ Properties:
display
- The displayName of the User or App who created this Resource
SCIM++ Properties:
ocid
- The OCID of the SCIM resource that represents the User or App who created this Resource
SCIM++ Properties:
type
- The type of resource, User or App, that created this Resource
SCIM++ Properties:
value
- The ID of the SCIM resource that represents the User or App who created this Resource
SCIM++ Properties:
idcs_last_modified_by
- The User or App who modified the Resource
SCIM++ Properties:
ref
- The URI of the SCIM resource that represents the User or App who modified this Resource
SCIM++ Properties:
display
- The displayName of the User or App who modified this Resource
SCIM++ Properties:
ocid
- The OCID of the SCIM resource that represents the User or App who modified this Resource
SCIM++ Properties:
type
- The type of resource, User or App, that modified this Resource
SCIM++ Properties:
value
- The ID of the SCIM resource that represents the User or App who modified this Resource
SCIM++ Properties:
idcs_last_upgraded_in_release
- The release number when the resource was upgraded.
SCIM++ Properties:
idcs_prevented_operations
- Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.
SCIM++ Properties:
is_opc_service
- Indicates whether this resource was created by OPC
Added In: 19.3.3
SCIM++ Properties:
meta
- A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.
SCIM++ Properties:
created
- The DateTime the Resource was added to the Service Provider
SCIM++ Properties:
last_modified
- The most recent DateTime that the details of this Resource were updated at the Service Provider. If this Resource has never been modified since its initial creation, the value MUST be the same as the value of created. The attribute MUST be a DateTime.
SCIM++ Properties:
location
- The URI of the Resource being returned. This value MUST be the same as the Location HTTP response header.
SCIM++ Properties:
resource_type
- Name of the resource type of the resource--for example, Users or Groups
SCIM++ Properties:
version
- The version of the Resource being returned. This value must be the same as the ETag HTTP response header.
SCIM++ Properties:
nginx_settings
- More NGINX Settings. JSON encoded key value pairs similar to WTP encoding
SCIM++ Properties:
ocid
- Unique Oracle Cloud Infrastructure identifier for the SCIM Resource.
SCIM++ Properties:
policy_name
- The Web Tier policy name used for the App that is mapped to the owning Cloud Gate
SCIM++ Properties:
proxy_pass
- NGINX ProxyPass entry for this Mapping
SCIM++ Properties:
resource_prefix
- Resource prefix for this mapping. This will be used to define the location block
SCIM++ Properties:
schemas
- REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard \"enterprise\" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.
SCIM++ Properties:
server
- Reference to server block for this mapping
SCIM++ Properties:
ref
- The URI to the server block entry
SCIM++ Properties:
value
- The id of the server block entry.
SCIM++ Properties:
tags
- A list of tags on this resource.
SCIM++ Properties:
key
- Key or name of the tag.
SCIM++ Properties:
value
- Value of the tag.
SCIM++ Properties:
tenancy_ocid
- Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.
SCIM++ Properties:
upstream_server_group
- Reference to upstream block for this mapping
Added In: 20.1.3
SCIM++ Properties:
ref
- The URI to the upstream block entry
Added In: 20.1.3
SCIM++ Properties:
ssl
- SSL flag for the Upstream Block
Added In: 20.1.3
SCIM++ Properties:
value
- The id of the upstream block entry.
Added In: 20.1.3
SCIM++ Properties:
The timeouts
block allows you to specify timeouts for certain operations:
* create
- (Defaults to 20 minutes), when creating the Cloud Gate Mapping
* update
- (Defaults to 20 minutes), when updating the Cloud Gate Mapping
* delete
- (Defaults to 20 minutes), when destroying the Cloud Gate Mapping
CloudGateMappings can be imported using the id
, e.g.
$ terraform import oci_identity_domains_cloud_gate_mapping.test_cloud_gate_mapping "idcsEndpoint/{idcsEndpoint}/cloudGateMappings/{cloudGateMappingId}"