oci.ApiGateway.Gateway
Explore with Pulumi AI
This resource provides the Gateway resource in Oracle Cloud Infrastructure API Gateway service.
Creates a new gateway.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testGateway = new oci.apigateway.Gateway("test_gateway", {
compartmentId: compartmentId,
endpointType: gatewayEndpointType,
subnetId: testSubnet.id,
certificateId: testCertificate.id,
caBundles: [{
type: gatewayCaBundlesType,
caBundleId: testCaBundle.id,
certificateAuthorityId: testCertificateAuthority.id,
}],
definedTags: {
"Operations.CostCenter": "42",
},
displayName: gatewayDisplayName,
freeformTags: {
Department: "Finance",
},
networkSecurityGroupIds: gatewayNetworkSecurityGroupIds,
responseCacheDetails: {
type: gatewayResponseCacheDetailsType,
authenticationSecretId: testSecret.id,
authenticationSecretVersionNumber: gatewayResponseCacheDetailsAuthenticationSecretVersionNumber,
connectTimeoutInMs: gatewayResponseCacheDetailsConnectTimeoutInMs,
isSslEnabled: gatewayResponseCacheDetailsIsSslEnabled,
isSslVerifyDisabled: gatewayResponseCacheDetailsIsSslVerifyDisabled,
readTimeoutInMs: gatewayResponseCacheDetailsReadTimeoutInMs,
sendTimeoutInMs: gatewayResponseCacheDetailsSendTimeoutInMs,
servers: [{
host: gatewayResponseCacheDetailsServersHost,
port: gatewayResponseCacheDetailsServersPort,
}],
},
});
import pulumi
import pulumi_oci as oci
test_gateway = oci.api_gateway.Gateway("test_gateway",
compartment_id=compartment_id,
endpoint_type=gateway_endpoint_type,
subnet_id=test_subnet["id"],
certificate_id=test_certificate["id"],
ca_bundles=[oci.api_gateway.GatewayCaBundleArgs(
type=gateway_ca_bundles_type,
ca_bundle_id=test_ca_bundle["id"],
certificate_authority_id=test_certificate_authority["id"],
)],
defined_tags={
"Operations.CostCenter": "42",
},
display_name=gateway_display_name,
freeform_tags={
"Department": "Finance",
},
network_security_group_ids=gateway_network_security_group_ids,
response_cache_details=oci.api_gateway.GatewayResponseCacheDetailsArgs(
type=gateway_response_cache_details_type,
authentication_secret_id=test_secret["id"],
authentication_secret_version_number=gateway_response_cache_details_authentication_secret_version_number,
connect_timeout_in_ms=gateway_response_cache_details_connect_timeout_in_ms,
is_ssl_enabled=gateway_response_cache_details_is_ssl_enabled,
is_ssl_verify_disabled=gateway_response_cache_details_is_ssl_verify_disabled,
read_timeout_in_ms=gateway_response_cache_details_read_timeout_in_ms,
send_timeout_in_ms=gateway_response_cache_details_send_timeout_in_ms,
servers=[oci.api_gateway.GatewayResponseCacheDetailsServerArgs(
host=gateway_response_cache_details_servers_host,
port=gateway_response_cache_details_servers_port,
)],
))
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/ApiGateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ApiGateway.NewGateway(ctx, "test_gateway", &ApiGateway.GatewayArgs{
CompartmentId: pulumi.Any(compartmentId),
EndpointType: pulumi.Any(gatewayEndpointType),
SubnetId: pulumi.Any(testSubnet.Id),
CertificateId: pulumi.Any(testCertificate.Id),
CaBundles: apigateway.GatewayCaBundleArray{
&apigateway.GatewayCaBundleArgs{
Type: pulumi.Any(gatewayCaBundlesType),
CaBundleId: pulumi.Any(testCaBundle.Id),
CertificateAuthorityId: pulumi.Any(testCertificateAuthority.Id),
},
},
DefinedTags: pulumi.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
DisplayName: pulumi.Any(gatewayDisplayName),
FreeformTags: pulumi.Map{
"Department": pulumi.Any("Finance"),
},
NetworkSecurityGroupIds: pulumi.Any(gatewayNetworkSecurityGroupIds),
ResponseCacheDetails: &apigateway.GatewayResponseCacheDetailsArgs{
Type: pulumi.Any(gatewayResponseCacheDetailsType),
AuthenticationSecretId: pulumi.Any(testSecret.Id),
AuthenticationSecretVersionNumber: pulumi.Any(gatewayResponseCacheDetailsAuthenticationSecretVersionNumber),
ConnectTimeoutInMs: pulumi.Any(gatewayResponseCacheDetailsConnectTimeoutInMs),
IsSslEnabled: pulumi.Any(gatewayResponseCacheDetailsIsSslEnabled),
IsSslVerifyDisabled: pulumi.Any(gatewayResponseCacheDetailsIsSslVerifyDisabled),
ReadTimeoutInMs: pulumi.Any(gatewayResponseCacheDetailsReadTimeoutInMs),
SendTimeoutInMs: pulumi.Any(gatewayResponseCacheDetailsSendTimeoutInMs),
Servers: apigateway.GatewayResponseCacheDetailsServerArray{
&apigateway.GatewayResponseCacheDetailsServerArgs{
Host: pulumi.Any(gatewayResponseCacheDetailsServersHost),
Port: pulumi.Any(gatewayResponseCacheDetailsServersPort),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testGateway = new Oci.ApiGateway.Gateway("test_gateway", new()
{
CompartmentId = compartmentId,
EndpointType = gatewayEndpointType,
SubnetId = testSubnet.Id,
CertificateId = testCertificate.Id,
CaBundles = new[]
{
new Oci.ApiGateway.Inputs.GatewayCaBundleArgs
{
Type = gatewayCaBundlesType,
CaBundleId = testCaBundle.Id,
CertificateAuthorityId = testCertificateAuthority.Id,
},
},
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = gatewayDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
NetworkSecurityGroupIds = gatewayNetworkSecurityGroupIds,
ResponseCacheDetails = new Oci.ApiGateway.Inputs.GatewayResponseCacheDetailsArgs
{
Type = gatewayResponseCacheDetailsType,
AuthenticationSecretId = testSecret.Id,
AuthenticationSecretVersionNumber = gatewayResponseCacheDetailsAuthenticationSecretVersionNumber,
ConnectTimeoutInMs = gatewayResponseCacheDetailsConnectTimeoutInMs,
IsSslEnabled = gatewayResponseCacheDetailsIsSslEnabled,
IsSslVerifyDisabled = gatewayResponseCacheDetailsIsSslVerifyDisabled,
ReadTimeoutInMs = gatewayResponseCacheDetailsReadTimeoutInMs,
SendTimeoutInMs = gatewayResponseCacheDetailsSendTimeoutInMs,
Servers = new[]
{
new Oci.ApiGateway.Inputs.GatewayResponseCacheDetailsServerArgs
{
Host = gatewayResponseCacheDetailsServersHost,
Port = gatewayResponseCacheDetailsServersPort,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ApiGateway.Gateway;
import com.pulumi.oci.ApiGateway.GatewayArgs;
import com.pulumi.oci.ApiGateway.inputs.GatewayCaBundleArgs;
import com.pulumi.oci.ApiGateway.inputs.GatewayResponseCacheDetailsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testGateway = new Gateway("testGateway", GatewayArgs.builder()
.compartmentId(compartmentId)
.endpointType(gatewayEndpointType)
.subnetId(testSubnet.id())
.certificateId(testCertificate.id())
.caBundles(GatewayCaBundleArgs.builder()
.type(gatewayCaBundlesType)
.caBundleId(testCaBundle.id())
.certificateAuthorityId(testCertificateAuthority.id())
.build())
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(gatewayDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.networkSecurityGroupIds(gatewayNetworkSecurityGroupIds)
.responseCacheDetails(GatewayResponseCacheDetailsArgs.builder()
.type(gatewayResponseCacheDetailsType)
.authenticationSecretId(testSecret.id())
.authenticationSecretVersionNumber(gatewayResponseCacheDetailsAuthenticationSecretVersionNumber)
.connectTimeoutInMs(gatewayResponseCacheDetailsConnectTimeoutInMs)
.isSslEnabled(gatewayResponseCacheDetailsIsSslEnabled)
.isSslVerifyDisabled(gatewayResponseCacheDetailsIsSslVerifyDisabled)
.readTimeoutInMs(gatewayResponseCacheDetailsReadTimeoutInMs)
.sendTimeoutInMs(gatewayResponseCacheDetailsSendTimeoutInMs)
.servers(GatewayResponseCacheDetailsServerArgs.builder()
.host(gatewayResponseCacheDetailsServersHost)
.port(gatewayResponseCacheDetailsServersPort)
.build())
.build())
.build());
}
}
resources:
testGateway:
type: oci:ApiGateway:Gateway
name: test_gateway
properties:
compartmentId: ${compartmentId}
endpointType: ${gatewayEndpointType}
subnetId: ${testSubnet.id}
certificateId: ${testCertificate.id}
caBundles:
- type: ${gatewayCaBundlesType}
caBundleId: ${testCaBundle.id}
certificateAuthorityId: ${testCertificateAuthority.id}
definedTags:
Operations.CostCenter: '42'
displayName: ${gatewayDisplayName}
freeformTags:
Department: Finance
networkSecurityGroupIds: ${gatewayNetworkSecurityGroupIds}
responseCacheDetails:
type: ${gatewayResponseCacheDetailsType}
authenticationSecretId: ${testSecret.id}
authenticationSecretVersionNumber: ${gatewayResponseCacheDetailsAuthenticationSecretVersionNumber}
connectTimeoutInMs: ${gatewayResponseCacheDetailsConnectTimeoutInMs}
isSslEnabled: ${gatewayResponseCacheDetailsIsSslEnabled}
isSslVerifyDisabled: ${gatewayResponseCacheDetailsIsSslVerifyDisabled}
readTimeoutInMs: ${gatewayResponseCacheDetailsReadTimeoutInMs}
sendTimeoutInMs: ${gatewayResponseCacheDetailsSendTimeoutInMs}
servers:
- host: ${gatewayResponseCacheDetailsServersHost}
port: ${gatewayResponseCacheDetailsServersPort}
Create Gateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Gateway(name: string, args: GatewayArgs, opts?: CustomResourceOptions);
@overload
def Gateway(resource_name: str,
args: GatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Gateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
endpoint_type: Optional[str] = None,
subnet_id: Optional[str] = None,
ca_bundles: Optional[Sequence[_apigateway.GatewayCaBundleArgs]] = None,
certificate_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
network_security_group_ids: Optional[Sequence[str]] = None,
response_cache_details: Optional[_apigateway.GatewayResponseCacheDetailsArgs] = None)
func NewGateway(ctx *Context, name string, args GatewayArgs, opts ...ResourceOption) (*Gateway, error)
public Gateway(string name, GatewayArgs args, CustomResourceOptions? opts = null)
public Gateway(String name, GatewayArgs args)
public Gateway(String name, GatewayArgs args, CustomResourceOptions options)
type: oci:ApiGateway:Gateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var gatewayResource = new Oci.ApiGateway.Gateway("gatewayResource", new()
{
CompartmentId = "string",
EndpointType = "string",
SubnetId = "string",
CaBundles = new[]
{
new Oci.ApiGateway.Inputs.GatewayCaBundleArgs
{
Type = "string",
CaBundleId = "string",
CertificateAuthorityId = "string",
},
},
CertificateId = "string",
DefinedTags =
{
{ "string", "any" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
NetworkSecurityGroupIds = new[]
{
"string",
},
ResponseCacheDetails = new Oci.ApiGateway.Inputs.GatewayResponseCacheDetailsArgs
{
Type = "string",
AuthenticationSecretId = "string",
AuthenticationSecretVersionNumber = "string",
ConnectTimeoutInMs = 0,
IsSslEnabled = false,
IsSslVerifyDisabled = false,
ReadTimeoutInMs = 0,
SendTimeoutInMs = 0,
Servers = new[]
{
new Oci.ApiGateway.Inputs.GatewayResponseCacheDetailsServerArgs
{
Host = "string",
Port = 0,
},
},
},
});
example, err := ApiGateway.NewGateway(ctx, "gatewayResource", &ApiGateway.GatewayArgs{
CompartmentId: pulumi.String("string"),
EndpointType: pulumi.String("string"),
SubnetId: pulumi.String("string"),
CaBundles: apigateway.GatewayCaBundleArray{
&apigateway.GatewayCaBundleArgs{
Type: pulumi.String("string"),
CaBundleId: pulumi.String("string"),
CertificateAuthorityId: pulumi.String("string"),
},
},
CertificateId: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
NetworkSecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
ResponseCacheDetails: &apigateway.GatewayResponseCacheDetailsArgs{
Type: pulumi.String("string"),
AuthenticationSecretId: pulumi.String("string"),
AuthenticationSecretVersionNumber: pulumi.String("string"),
ConnectTimeoutInMs: pulumi.Int(0),
IsSslEnabled: pulumi.Bool(false),
IsSslVerifyDisabled: pulumi.Bool(false),
ReadTimeoutInMs: pulumi.Int(0),
SendTimeoutInMs: pulumi.Int(0),
Servers: apigateway.GatewayResponseCacheDetailsServerArray{
&apigateway.GatewayResponseCacheDetailsServerArgs{
Host: pulumi.String("string"),
Port: pulumi.Int(0),
},
},
},
})
var gatewayResource = new Gateway("gatewayResource", GatewayArgs.builder()
.compartmentId("string")
.endpointType("string")
.subnetId("string")
.caBundles(GatewayCaBundleArgs.builder()
.type("string")
.caBundleId("string")
.certificateAuthorityId("string")
.build())
.certificateId("string")
.definedTags(Map.of("string", "any"))
.displayName("string")
.freeformTags(Map.of("string", "any"))
.networkSecurityGroupIds("string")
.responseCacheDetails(GatewayResponseCacheDetailsArgs.builder()
.type("string")
.authenticationSecretId("string")
.authenticationSecretVersionNumber("string")
.connectTimeoutInMs(0)
.isSslEnabled(false)
.isSslVerifyDisabled(false)
.readTimeoutInMs(0)
.sendTimeoutInMs(0)
.servers(GatewayResponseCacheDetailsServerArgs.builder()
.host("string")
.port(0)
.build())
.build())
.build());
gateway_resource = oci.api_gateway.Gateway("gatewayResource",
compartment_id="string",
endpoint_type="string",
subnet_id="string",
ca_bundles=[oci.api_gateway.GatewayCaBundleArgs(
type="string",
ca_bundle_id="string",
certificate_authority_id="string",
)],
certificate_id="string",
defined_tags={
"string": "any",
},
display_name="string",
freeform_tags={
"string": "any",
},
network_security_group_ids=["string"],
response_cache_details=oci.api_gateway.GatewayResponseCacheDetailsArgs(
type="string",
authentication_secret_id="string",
authentication_secret_version_number="string",
connect_timeout_in_ms=0,
is_ssl_enabled=False,
is_ssl_verify_disabled=False,
read_timeout_in_ms=0,
send_timeout_in_ms=0,
servers=[oci.api_gateway.GatewayResponseCacheDetailsServerArgs(
host="string",
port=0,
)],
))
const gatewayResource = new oci.apigateway.Gateway("gatewayResource", {
compartmentId: "string",
endpointType: "string",
subnetId: "string",
caBundles: [{
type: "string",
caBundleId: "string",
certificateAuthorityId: "string",
}],
certificateId: "string",
definedTags: {
string: "any",
},
displayName: "string",
freeformTags: {
string: "any",
},
networkSecurityGroupIds: ["string"],
responseCacheDetails: {
type: "string",
authenticationSecretId: "string",
authenticationSecretVersionNumber: "string",
connectTimeoutInMs: 0,
isSslEnabled: false,
isSslVerifyDisabled: false,
readTimeoutInMs: 0,
sendTimeoutInMs: 0,
servers: [{
host: "string",
port: 0,
}],
},
});
type: oci:ApiGateway:Gateway
properties:
caBundles:
- caBundleId: string
certificateAuthorityId: string
type: string
certificateId: string
compartmentId: string
definedTags:
string: any
displayName: string
endpointType: string
freeformTags:
string: any
networkSecurityGroupIds:
- string
responseCacheDetails:
authenticationSecretId: string
authenticationSecretVersionNumber: string
connectTimeoutInMs: 0
isSslEnabled: false
isSslVerifyDisabled: false
readTimeoutInMs: 0
sendTimeoutInMs: 0
servers:
- host: string
port: 0
type: string
subnetId: string
Gateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Gateway resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- Endpoint
Type string - Gateway endpoint type.
PUBLIC
will have a public ip address assigned to it, whilePRIVATE
will only be accessible on a private IP address on the subnet. Example:PUBLIC
orPRIVATE
- Subnet
Id string The OCID of the subnet in which related resources are created.
** 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
- Ca
Bundles List<GatewayCa Bundle> - (Updatable) An array of CA bundles that should be used on the Gateway for TLS validation.
- Certificate
Id string - (Updatable) The OCID of the resource.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Network
Security List<string>Group Ids - (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway.
- Response
Cache GatewayDetails Response Cache Details - (Updatable) Base Gateway response cache.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- Endpoint
Type string - Gateway endpoint type.
PUBLIC
will have a public ip address assigned to it, whilePRIVATE
will only be accessible on a private IP address on the subnet. Example:PUBLIC
orPRIVATE
- Subnet
Id string The OCID of the subnet in which related resources are created.
** 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
- Ca
Bundles []GatewayCa Bundle Args - (Updatable) An array of CA bundles that should be used on the Gateway for TLS validation.
- Certificate
Id string - (Updatable) The OCID of the resource.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Network
Security []stringGroup Ids - (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway.
- Response
Cache GatewayDetails Response Cache Details Args - (Updatable) Base Gateway response cache.
- compartment
Id String - (Updatable) The OCID of the compartment in which the resource is created.
- endpoint
Type String - Gateway endpoint type.
PUBLIC
will have a public ip address assigned to it, whilePRIVATE
will only be accessible on a private IP address on the subnet. Example:PUBLIC
orPRIVATE
- subnet
Id String The OCID of the subnet in which related resources are created.
** 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
- ca
Bundles List<GatewayCa Bundle> - (Updatable) An array of CA bundles that should be used on the Gateway for TLS validation.
- certificate
Id String - (Updatable) The OCID of the resource.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- network
Security List<String>Group Ids - (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway.
- response
Cache GatewayDetails Response Cache Details - (Updatable) Base Gateway response cache.
- compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- endpoint
Type string - Gateway endpoint type.
PUBLIC
will have a public ip address assigned to it, whilePRIVATE
will only be accessible on a private IP address on the subnet. Example:PUBLIC
orPRIVATE
- subnet
Id string The OCID of the subnet in which related resources are created.
** 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
- ca
Bundles GatewayCa Bundle[] - (Updatable) An array of CA bundles that should be used on the Gateway for TLS validation.
- certificate
Id string - (Updatable) The OCID of the resource.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- network
Security string[]Group Ids - (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway.
- response
Cache GatewayDetails Response Cache Details - (Updatable) Base Gateway response cache.
- compartment_
id str - (Updatable) The OCID of the compartment in which the resource is created.
- endpoint_
type str - Gateway endpoint type.
PUBLIC
will have a public ip address assigned to it, whilePRIVATE
will only be accessible on a private IP address on the subnet. Example:PUBLIC
orPRIVATE
- subnet_
id str The OCID of the subnet in which related resources are created.
** 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
- ca_
bundles Sequence[apigateway.Gateway Ca Bundle Args] - (Updatable) An array of CA bundles that should be used on the Gateway for TLS validation.
- certificate_
id str - (Updatable) The OCID of the resource.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- network_
security_ Sequence[str]group_ ids - (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway.
- response_
cache_ apigateway.details Gateway Response Cache Details Args - (Updatable) Base Gateway response cache.
- compartment
Id String - (Updatable) The OCID of the compartment in which the resource is created.
- endpoint
Type String - Gateway endpoint type.
PUBLIC
will have a public ip address assigned to it, whilePRIVATE
will only be accessible on a private IP address on the subnet. Example:PUBLIC
orPRIVATE
- subnet
Id String The OCID of the subnet in which related resources are created.
** 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
- ca
Bundles List<Property Map> - (Updatable) An array of CA bundles that should be used on the Gateway for TLS validation.
- certificate
Id String - (Updatable) The OCID of the resource.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- network
Security List<String>Group Ids - (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway.
- response
Cache Property MapDetails - (Updatable) Base Gateway response cache.
Outputs
All input properties are implicitly available as output properties. Additionally, the Gateway resource produces the following output properties:
- Hostname string
- The hostname for APIs deployed on the gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Addresses List<GatewayIp Address> - An array of IP addresses associated with the gateway.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- State string
- The current state of the gateway.
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Hostname string
- The hostname for APIs deployed on the gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Addresses []GatewayIp Address - An array of IP addresses associated with the gateway.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- State string
- The current state of the gateway.
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- hostname String
- The hostname for APIs deployed on the gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Addresses List<GatewayIp Address> - An array of IP addresses associated with the gateway.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state String
- The current state of the gateway.
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- hostname string
- The hostname for APIs deployed on the gateway.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Addresses GatewayIp Address[] - An array of IP addresses associated with the gateway.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state string
- The current state of the gateway.
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- hostname str
- The hostname for APIs deployed on the gateway.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
addresses Sequence[apigateway.Gateway Ip Address] - An array of IP addresses associated with the gateway.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state str
- The current state of the gateway.
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- hostname String
- The hostname for APIs deployed on the gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Addresses List<Property Map> - An array of IP addresses associated with the gateway.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- state String
- The current state of the gateway.
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Look up Existing Gateway Resource
Get an existing Gateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GatewayState, opts?: CustomResourceOptions): Gateway
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ca_bundles: Optional[Sequence[_apigateway.GatewayCaBundleArgs]] = None,
certificate_id: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
endpoint_type: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
hostname: Optional[str] = None,
ip_addresses: Optional[Sequence[_apigateway.GatewayIpAddressArgs]] = None,
lifecycle_details: Optional[str] = None,
network_security_group_ids: Optional[Sequence[str]] = None,
response_cache_details: Optional[_apigateway.GatewayResponseCacheDetailsArgs] = None,
state: Optional[str] = None,
subnet_id: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> Gateway
func GetGateway(ctx *Context, name string, id IDInput, state *GatewayState, opts ...ResourceOption) (*Gateway, error)
public static Gateway Get(string name, Input<string> id, GatewayState? state, CustomResourceOptions? opts = null)
public static Gateway get(String name, Output<String> id, GatewayState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Ca
Bundles List<GatewayCa Bundle> - (Updatable) An array of CA bundles that should be used on the Gateway for TLS validation.
- Certificate
Id string - (Updatable) The OCID of the resource.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Endpoint
Type string - Gateway endpoint type.
PUBLIC
will have a public ip address assigned to it, whilePRIVATE
will only be accessible on a private IP address on the subnet. Example:PUBLIC
orPRIVATE
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname string
- The hostname for APIs deployed on the gateway.
- Ip
Addresses List<GatewayIp Address> - An array of IP addresses associated with the gateway.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- Network
Security List<string>Group Ids - (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway.
- Response
Cache GatewayDetails Response Cache Details - (Updatable) Base Gateway response cache.
- State string
- The current state of the gateway.
- Subnet
Id string The OCID of the subnet in which related resources are created.
** 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
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Ca
Bundles []GatewayCa Bundle Args - (Updatable) An array of CA bundles that should be used on the Gateway for TLS validation.
- Certificate
Id string - (Updatable) The OCID of the resource.
- Compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Endpoint
Type string - Gateway endpoint type.
PUBLIC
will have a public ip address assigned to it, whilePRIVATE
will only be accessible on a private IP address on the subnet. Example:PUBLIC
orPRIVATE
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Hostname string
- The hostname for APIs deployed on the gateway.
- Ip
Addresses []GatewayIp Address Args - An array of IP addresses associated with the gateway.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- Network
Security []stringGroup Ids - (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway.
- Response
Cache GatewayDetails Response Cache Details Args - (Updatable) Base Gateway response cache.
- State string
- The current state of the gateway.
- Subnet
Id string The OCID of the subnet in which related resources are created.
** 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
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- ca
Bundles List<GatewayCa Bundle> - (Updatable) An array of CA bundles that should be used on the Gateway for TLS validation.
- certificate
Id String - (Updatable) The OCID of the resource.
- compartment
Id String - (Updatable) The OCID of the compartment in which the resource is created.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- endpoint
Type String - Gateway endpoint type.
PUBLIC
will have a public ip address assigned to it, whilePRIVATE
will only be accessible on a private IP address on the subnet. Example:PUBLIC
orPRIVATE
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname String
- The hostname for APIs deployed on the gateway.
- ip
Addresses List<GatewayIp Address> - An array of IP addresses associated with the gateway.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- network
Security List<String>Group Ids - (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway.
- response
Cache GatewayDetails Response Cache Details - (Updatable) Base Gateway response cache.
- state String
- The current state of the gateway.
- subnet
Id String The OCID of the subnet in which related resources are created.
** 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
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- ca
Bundles GatewayCa Bundle[] - (Updatable) An array of CA bundles that should be used on the Gateway for TLS validation.
- certificate
Id string - (Updatable) The OCID of the resource.
- compartment
Id string - (Updatable) The OCID of the compartment in which the resource is created.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- endpoint
Type string - Gateway endpoint type.
PUBLIC
will have a public ip address assigned to it, whilePRIVATE
will only be accessible on a private IP address on the subnet. Example:PUBLIC
orPRIVATE
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname string
- The hostname for APIs deployed on the gateway.
- ip
Addresses GatewayIp Address[] - An array of IP addresses associated with the gateway.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- network
Security string[]Group Ids - (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway.
- response
Cache GatewayDetails Response Cache Details - (Updatable) Base Gateway response cache.
- state string
- The current state of the gateway.
- subnet
Id string The OCID of the subnet in which related resources are created.
** 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
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- ca_
bundles Sequence[apigateway.Gateway Ca Bundle Args] - (Updatable) An array of CA bundles that should be used on the Gateway for TLS validation.
- certificate_
id str - (Updatable) The OCID of the resource.
- compartment_
id str - (Updatable) The OCID of the compartment in which the resource is created.
- Mapping[str, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- endpoint_
type str - Gateway endpoint type.
PUBLIC
will have a public ip address assigned to it, whilePRIVATE
will only be accessible on a private IP address on the subnet. Example:PUBLIC
orPRIVATE
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname str
- The hostname for APIs deployed on the gateway.
- ip_
addresses Sequence[apigateway.Gateway Ip Address Args] - An array of IP addresses associated with the gateway.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- network_
security_ Sequence[str]group_ ids - (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway.
- response_
cache_ apigateway.details Gateway Response Cache Details Args - (Updatable) Base Gateway response cache.
- state str
- The current state of the gateway.
- subnet_
id str The OCID of the subnet in which related resources are created.
** 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
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- ca
Bundles List<Property Map> - (Updatable) An array of CA bundles that should be used on the Gateway for TLS validation.
- certificate
Id String - (Updatable) The OCID of the resource.
- compartment
Id String - (Updatable) The OCID of the compartment in which the resource is created.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- endpoint
Type String - Gateway endpoint type.
PUBLIC
will have a public ip address assigned to it, whilePRIVATE
will only be accessible on a private IP address on the subnet. Example:PUBLIC
orPRIVATE
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- hostname String
- The hostname for APIs deployed on the gateway.
- ip
Addresses List<Property Map> - An array of IP addresses associated with the gateway.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
- network
Security List<String>Group Ids - (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway.
- response
Cache Property MapDetails - (Updatable) Base Gateway response cache.
- state String
- The current state of the gateway.
- subnet
Id String The OCID of the subnet in which related resources are created.
** 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
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Supporting Types
GatewayCaBundle, GatewayCaBundleArgs
- Type string
- (Updatable) Type of the CA bundle
- Ca
Bundle stringId - (Updatable) The OCID of the resource.
- string
- (Updatable) The OCID of the resource.
- Type string
- (Updatable) Type of the CA bundle
- Ca
Bundle stringId - (Updatable) The OCID of the resource.
- string
- (Updatable) The OCID of the resource.
- type String
- (Updatable) Type of the CA bundle
- ca
Bundle StringId - (Updatable) The OCID of the resource.
- String
- (Updatable) The OCID of the resource.
- type string
- (Updatable) Type of the CA bundle
- ca
Bundle stringId - (Updatable) The OCID of the resource.
- string
- (Updatable) The OCID of the resource.
- type str
- (Updatable) Type of the CA bundle
- ca_
bundle_ strid - (Updatable) The OCID of the resource.
- str
- (Updatable) The OCID of the resource.
- type String
- (Updatable) Type of the CA bundle
- ca
Bundle StringId - (Updatable) The OCID of the resource.
- String
- (Updatable) The OCID of the resource.
GatewayIpAddress, GatewayIpAddressArgs
- Ip
Address string - An IP address.
- Ip
Address string - An IP address.
- ip
Address String - An IP address.
- ip
Address string - An IP address.
- ip_
address str - An IP address.
- ip
Address String - An IP address.
GatewayResponseCacheDetails, GatewayResponseCacheDetailsArgs
- Type string
- (Updatable) Type of the Response Cache.
- Authentication
Secret stringId - (Updatable) The OCID of the Oracle Vault Service secret resource.
- Authentication
Secret stringVersion Number - (Updatable) The version number of the authentication secret to use.
- Connect
Timeout intIn Ms - (Updatable) Defines the timeout for establishing a connection with the Response Cache.
- Is
Ssl boolEnabled - (Updatable) Defines if the connection should be over SSL.
- Is
Ssl boolVerify Disabled - (Updatable) Defines whether or not to uphold SSL verification.
- Read
Timeout intIn Ms - (Updatable) Defines the timeout for reading data from the Response Cache.
- Send
Timeout intIn Ms - (Updatable) Defines the timeout for transmitting data to the Response Cache.
- Servers
List<Gateway
Response Cache Details Server> - (Updatable) The set of cache store members to connect to. At present only a single server is supported.
- Type string
- (Updatable) Type of the Response Cache.
- Authentication
Secret stringId - (Updatable) The OCID of the Oracle Vault Service secret resource.
- Authentication
Secret stringVersion Number - (Updatable) The version number of the authentication secret to use.
- Connect
Timeout intIn Ms - (Updatable) Defines the timeout for establishing a connection with the Response Cache.
- Is
Ssl boolEnabled - (Updatable) Defines if the connection should be over SSL.
- Is
Ssl boolVerify Disabled - (Updatable) Defines whether or not to uphold SSL verification.
- Read
Timeout intIn Ms - (Updatable) Defines the timeout for reading data from the Response Cache.
- Send
Timeout intIn Ms - (Updatable) Defines the timeout for transmitting data to the Response Cache.
- Servers
[]Gateway
Response Cache Details Server - (Updatable) The set of cache store members to connect to. At present only a single server is supported.
- type String
- (Updatable) Type of the Response Cache.
- authentication
Secret StringId - (Updatable) The OCID of the Oracle Vault Service secret resource.
- authentication
Secret StringVersion Number - (Updatable) The version number of the authentication secret to use.
- connect
Timeout IntegerIn Ms - (Updatable) Defines the timeout for establishing a connection with the Response Cache.
- is
Ssl BooleanEnabled - (Updatable) Defines if the connection should be over SSL.
- is
Ssl BooleanVerify Disabled - (Updatable) Defines whether or not to uphold SSL verification.
- read
Timeout IntegerIn Ms - (Updatable) Defines the timeout for reading data from the Response Cache.
- send
Timeout IntegerIn Ms - (Updatable) Defines the timeout for transmitting data to the Response Cache.
- servers
List<Gateway
Response Cache Details Server> - (Updatable) The set of cache store members to connect to. At present only a single server is supported.
- type string
- (Updatable) Type of the Response Cache.
- authentication
Secret stringId - (Updatable) The OCID of the Oracle Vault Service secret resource.
- authentication
Secret stringVersion Number - (Updatable) The version number of the authentication secret to use.
- connect
Timeout numberIn Ms - (Updatable) Defines the timeout for establishing a connection with the Response Cache.
- is
Ssl booleanEnabled - (Updatable) Defines if the connection should be over SSL.
- is
Ssl booleanVerify Disabled - (Updatable) Defines whether or not to uphold SSL verification.
- read
Timeout numberIn Ms - (Updatable) Defines the timeout for reading data from the Response Cache.
- send
Timeout numberIn Ms - (Updatable) Defines the timeout for transmitting data to the Response Cache.
- servers
Gateway
Response Cache Details Server[] - (Updatable) The set of cache store members to connect to. At present only a single server is supported.
- type str
- (Updatable) Type of the Response Cache.
- authentication_
secret_ strid - (Updatable) The OCID of the Oracle Vault Service secret resource.
- authentication_
secret_ strversion_ number - (Updatable) The version number of the authentication secret to use.
- connect_
timeout_ intin_ ms - (Updatable) Defines the timeout for establishing a connection with the Response Cache.
- is_
ssl_ boolenabled - (Updatable) Defines if the connection should be over SSL.
- is_
ssl_ boolverify_ disabled - (Updatable) Defines whether or not to uphold SSL verification.
- read_
timeout_ intin_ ms - (Updatable) Defines the timeout for reading data from the Response Cache.
- send_
timeout_ intin_ ms - (Updatable) Defines the timeout for transmitting data to the Response Cache.
- servers
Sequence[apigateway.
Gateway Response Cache Details Server] - (Updatable) The set of cache store members to connect to. At present only a single server is supported.
- type String
- (Updatable) Type of the Response Cache.
- authentication
Secret StringId - (Updatable) The OCID of the Oracle Vault Service secret resource.
- authentication
Secret StringVersion Number - (Updatable) The version number of the authentication secret to use.
- connect
Timeout NumberIn Ms - (Updatable) Defines the timeout for establishing a connection with the Response Cache.
- is
Ssl BooleanEnabled - (Updatable) Defines if the connection should be over SSL.
- is
Ssl BooleanVerify Disabled - (Updatable) Defines whether or not to uphold SSL verification.
- read
Timeout NumberIn Ms - (Updatable) Defines the timeout for reading data from the Response Cache.
- send
Timeout NumberIn Ms - (Updatable) Defines the timeout for transmitting data to the Response Cache.
- servers List<Property Map>
- (Updatable) The set of cache store members to connect to. At present only a single server is supported.
GatewayResponseCacheDetailsServer, GatewayResponseCacheDetailsServerArgs
Import
Gateways can be imported using the id
, e.g.
$ pulumi import oci:ApiGateway/gateway:Gateway test_gateway "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.